{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\prabin\Desktop\AMISOM ISQ Replication\AMISOM_Log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}30 Jan 2025, 20:09:52

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. set scheme s1mono // for white background
{txt}
{com}. set more off
{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\SurveyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. global controls duration age male edu rank married prevAU_UN mil_ops pre_dep  i.dist    
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. *Figure 4: Impact of Peacekeeping casualties on Civilian Abuse: Attitudes and Behavior
. *Tables related to Plots in Figure 4 are in the Online Appendix
. 
. *Figure 4 (Top Left Figure) "Attitudes: Reported witnessing an IED attack on Civilian Abuse(survey)"
. 
. eststo clear
{txt}
{com}. eststo:reg troops_rec_perform_review  ied_face ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       505
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1646
                                                {txt}Root MSE          =    {res} 1.2358

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}troops_rec~w{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2735547{col 26}{space 2} .1283394{col 37}{space 1}   -2.13{col 46}{space 3}0.042{col 54}{space 4} -.536446{col 67}{space 3}-.0106633
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.1010177{col 26}{space 2} .0821876{col 37}{space 1}   -1.23{col 46}{space 3}0.229{col 54}{space 4}-.2693714{col 67}{space 3} .0673359
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0079232{col 26}{space 2}  .006641{col 37}{space 1}   -1.19{col 46}{space 3}0.243{col 54}{space 4}-.0215267{col 67}{space 3} .0056803
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.6526777{col 26}{space 2} .4529753{col 37}{space 1}   -1.44{col 46}{space 3}0.161{col 54}{space 4}-1.580556{col 67}{space 3} .2752002
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0710662{col 26}{space 2} .0866487{col 37}{space 1}    0.82{col 46}{space 3}0.419{col 54}{space 4}-.1064257{col 67}{space 3}  .248558
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.1276622{col 26}{space 2} .0699143{col 37}{space 1}   -1.83{col 46}{space 3}0.079{col 54}{space 4}-.2708752{col 67}{space 3} .0155508
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.1185654{col 26}{space 2} .1227806{col 37}{space 1}   -0.97{col 46}{space 3}0.342{col 54}{space 4}-.3700702{col 67}{space 3} .1329393
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}  .269292{col 26}{space 2} .1774673{col 37}{space 1}    1.52{col 46}{space 3}0.140{col 54}{space 4}-.0942334{col 67}{space 3} .6328174
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2}-.1711969{col 26}{space 2} .1692124{col 37}{space 1}   -1.01{col 46}{space 3}0.320{col 54}{space 4}-.5178127{col 67}{space 3}  .175419
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.4006007{col 26}{space 2}  .172298{col 37}{space 1}   -2.33{col 46}{space 3}0.028{col 54}{space 4}-.7535372{col 67}{space 3}-.0476643
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} 1.300803{col 26}{space 2} .2644517{col 37}{space 1}    4.92{col 46}{space 3}0.000{col 54}{space 4} .7590983{col 67}{space 3} 1.842508
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} 1.520202{col 26}{space 2}  .286139{col 37}{space 1}    5.31{col 46}{space 3}0.000{col 54}{space 4} .9340726{col 67}{space 3} 2.106331
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}-.4348318{col 26}{space 2} .2718432{col 37}{space 1}   -1.60{col 46}{space 3}0.121{col 54}{space 4}-.9916773{col 67}{space 3} .1220136
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2}-.2760647{col 26}{space 2} .2636185{col 37}{space 1}   -1.05{col 46}{space 3}0.304{col 54}{space 4}-.8160627{col 67}{space 3} .2639334
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .1760105{col 26}{space 2} .2568056{col 37}{space 1}    0.69{col 46}{space 3}0.499{col 54}{space 4}-.3500319{col 67}{space 3} .7020528
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} 1.173204{col 26}{space 2}  .326025{col 37}{space 1}    3.60{col 46}{space 3}0.001{col 54}{space 4} .5053718{col 67}{space 3} 1.841036
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}  .723395{col 26}{space 2} .4405598{col 37}{space 1}    1.64{col 46}{space 3}0.112{col 54}{space 4}-.1790508{col 67}{space 3} 1.625841
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2}-.3118546{col 26}{space 2} .2626432{col 37}{space 1}   -1.19{col 46}{space 3}0.245{col 54}{space 4}-.8498548{col 67}{space 3} .2261455
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} -.195685{col 26}{space 2} .2666512{col 37}{space 1}   -0.73{col 46}{space 3}0.469{col 54}{space 4}-.7418952{col 67}{space 3} .3505252
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .4065378{col 26}{space 2} .3085144{col 37}{space 1}    1.32{col 46}{space 3}0.198{col 54}{space 4}-.2254253{col 67}{space 3} 1.038501
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .3931202{col 26}{space 2} .3507596{col 37}{space 1}    1.12{col 46}{space 3}0.272{col 54}{space 4}-.3253783{col 67}{space 3} 1.111619
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}  4.13934{col 26}{space 2} .5538704{col 37}{space 1}    7.47{col 46}{space 3}0.000{col 54}{space 4} 3.004788{col 67}{space 3} 5.273892
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store review1
{txt}
{com}. eststo:reg coop_with_others  ied_face  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       506
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2011
                                                {txt}Root MSE          =    {res} 1.0478

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}coop_with_~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2079722{col 26}{space 2} .1289671{col 37}{space 1}   -1.61{col 46}{space 3}0.118{col 54}{space 4}-.4721492{col 67}{space 3} .0562049
{txt}{space 4}duration {c |}{col 14}{res}{space 2} .0183838{col 26}{space 2} .0653149{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}-.1154078{col 67}{space 3} .1521753
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0076856{col 26}{space 2} .0084841{col 37}{space 1}    0.91{col 46}{space 3}0.373{col 54}{space 4}-.0096933{col 67}{space 3} .0250645
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0366162{col 26}{space 2} .2145406{col 37}{space 1}   -0.17{col 46}{space 3}0.866{col 54}{space 4}-.4760827{col 67}{space 3} .4028503
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0693684{col 26}{space 2} .0660321{col 37}{space 1}    1.05{col 46}{space 3}0.302{col 54}{space 4}-.0658923{col 67}{space 3}  .204629
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0920515{col 26}{space 2} .0500322{col 37}{space 1}   -1.84{col 46}{space 3}0.076{col 54}{space 4}-.1945379{col 67}{space 3} .0104349
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.1274799{col 26}{space 2} .1011351{col 37}{space 1}   -1.26{col 46}{space 3}0.218{col 54}{space 4}-.3346457{col 67}{space 3} .0796859
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} -.191594{col 26}{space 2} .1943887{col 37}{space 1}   -0.99{col 46}{space 3}0.333{col 54}{space 4}-.5897812{col 67}{space 3} .2065933
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0588043{col 26}{space 2} .0858469{col 37}{space 1}    0.68{col 46}{space 3}0.499{col 54}{space 4}-.1170452{col 67}{space 3} .2346537
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2} -.092544{col 26}{space 2} .2114588{col 37}{space 1}   -0.44{col 46}{space 3}0.665{col 54}{space 4}-.5256977{col 67}{space 3} .3406097
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .6190179{col 26}{space 2}  .238147{col 37}{space 1}    2.60{col 46}{space 3}0.015{col 54}{space 4} .1311959{col 67}{space 3}  1.10684
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .8611538{col 26}{space 2} .2844023{col 37}{space 1}    3.03{col 46}{space 3}0.005{col 54}{space 4} .2785821{col 67}{space 3} 1.443725
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}-.2038624{col 26}{space 2} .2872327{col 37}{space 1}   -0.71{col 46}{space 3}0.484{col 54}{space 4}-.7922319{col 67}{space 3} .3845071
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .1340474{col 26}{space 2} .2491486{col 37}{space 1}    0.54{col 46}{space 3}0.595{col 54}{space 4}-.3763104{col 67}{space 3} .6444053
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} 1.013007{col 26}{space 2} .2665006{col 37}{space 1}    3.80{col 46}{space 3}0.001{col 54}{space 4} .4671053{col 67}{space 3} 1.558909
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .0972104{col 26}{space 2} .3565117{col 37}{space 1}    0.27{col 46}{space 3}0.787{col 54}{space 4}-.6330707{col 67}{space 3} .8274915
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} .0112107{col 26}{space 2} .2778923{col 37}{space 1}    0.04{col 46}{space 3}0.968{col 54}{space 4}-.5580259{col 67}{space 3} .5804473
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.122917{col 26}{space 2} .3052461{col 37}{space 1}    3.68{col 46}{space 3}0.001{col 54}{space 4} .4976485{col 67}{space 3} 1.748185
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} 1.190015{col 26}{space 2} .2782789{col 37}{space 1}    4.28{col 46}{space 3}0.000{col 54}{space 4}  .619986{col 67}{space 3} 1.760043
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .5551524{col 26}{space 2} .2768767{col 37}{space 1}    2.01{col 46}{space 3}0.055{col 54}{space 4}-.0120039{col 67}{space 3} 1.122309
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .2931935{col 26}{space 2} .4647985{col 37}{space 1}    0.63{col 46}{space 3}0.533{col 54}{space 4} -.658903{col 67}{space 3}  1.24529
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.470113{col 26}{space 2} .4883451{col 37}{space 1}    3.01{col 46}{space 3}0.005{col 54}{space 4} .4697837{col 67}{space 3} 2.470443
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store coop1
{txt}
{com}. eststo:reg complain  ied_face  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       459
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0720
                                                {txt}Root MSE          =    {res} .86283

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    complain{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.0417386{col 26}{space 2} .0756611{col 37}{space 1}   -0.55{col 46}{space 3}0.586{col 54}{space 4}-.1967234{col 67}{space 3} .1132462
{txt}{space 4}duration {c |}{col 14}{res}{space 2} .0848227{col 26}{space 2} .0700315{col 37}{space 1}    1.21{col 46}{space 3}0.236{col 54}{space 4}-.0586304{col 67}{space 3} .2282758
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0044762{col 26}{space 2} .0084128{col 37}{space 1}   -0.53{col 46}{space 3}0.599{col 54}{space 4}-.0217091{col 67}{space 3} .0127567
{txt}{space 8}male {c |}{col 14}{res}{space 2} .2064361{col 26}{space 2} .2502763{col 37}{space 1}    0.82{col 46}{space 3}0.416{col 54}{space 4}-.3062316{col 67}{space 3} .7191039
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0739597{col 26}{space 2} .0539096{col 37}{space 1}    1.37{col 46}{space 3}0.181{col 54}{space 4}-.0364691{col 67}{space 3} .1843886
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .0402666{col 26}{space 2} .0545174{col 37}{space 1}    0.74{col 46}{space 3}0.466{col 54}{space 4}-.0714072{col 67}{space 3} .1519404
{txt}{space 5}married {c |}{col 14}{res}{space 2} .0005342{col 26}{space 2} .1046665{col 37}{space 1}    0.01{col 46}{space 3}0.996{col 54}{space 4}-.2138653{col 67}{space 3} .2149338
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.0663414{col 26}{space 2} .0963744{col 37}{space 1}   -0.69{col 46}{space 3}0.497{col 54}{space 4}-.2637554{col 67}{space 3} .1310725
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} -.039019{col 26}{space 2}  .108286{col 37}{space 1}   -0.36{col 46}{space 3}0.721{col 54}{space 4}-.2608328{col 67}{space 3} .1827948
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2} .0715816{col 26}{space 2} .1369344{col 37}{space 1}    0.52{col 46}{space 3}0.605{col 54}{space 4}-.2089157{col 67}{space 3}  .352079
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .6435346{col 26}{space 2} .2559805{col 37}{space 1}    2.51{col 46}{space 3}0.018{col 54}{space 4} .1191823{col 67}{space 3} 1.167887
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2}-.3780277{col 26}{space 2} .3134684{col 37}{space 1}   -1.21{col 46}{space 3}0.238{col 54}{space 4}-1.020139{col 67}{space 3} .2640833
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .2063157{col 26}{space 2} .3007168{col 37}{space 1}    0.69{col 46}{space 3}0.498{col 54}{space 4}-.4096748{col 67}{space 3} .8223062
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .0805805{col 26}{space 2} .2525533{col 37}{space 1}    0.32{col 46}{space 3}0.752{col 54}{space 4}-.4367514{col 67}{space 3} .5979125
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .2759464{col 26}{space 2} .2748554{col 37}{space 1}    1.00{col 46}{space 3}0.324{col 54}{space 4}-.2870693{col 67}{space 3} .8389621
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .1180532{col 26}{space 2} .3998718{col 37}{space 1}    0.30{col 46}{space 3}0.770{col 54}{space 4}-.7010471{col 67}{space 3} .9371535
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} .0265591{col 26}{space 2}  .338606{col 37}{space 1}    0.08{col 46}{space 3}0.938{col 54}{space 4}-.6670438{col 67}{space 3}  .720162
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .5718079{col 26}{space 2} .2991815{col 37}{space 1}    1.91{col 46}{space 3}0.066{col 54}{space 4}-.0410376{col 67}{space 3} 1.184653
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2}  .241877{col 26}{space 2} .2891756{col 37}{space 1}    0.84{col 46}{space 3}0.410{col 54}{space 4}-.3504724{col 67}{space 3} .8342263
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .0662408{col 26}{space 2} .2787162{col 37}{space 1}    0.24{col 46}{space 3}0.814{col 54}{space 4}-.5046834{col 67}{space 3}  .637165
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .3578768{col 26}{space 2} .2696967{col 37}{space 1}    1.33{col 46}{space 3}0.195{col 54}{space 4}-.1945718{col 67}{space 3} .9103254
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.863355{col 26}{space 2} .4807677{col 37}{space 1}    5.96{col 46}{space 3}0.000{col 54}{space 4} 1.878547{col 67}{space 3} 3.848163
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store compln1
{txt}
{com}. eststo:reg relations  ied_face  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       488
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1754
                                                {txt}Root MSE          =    {res} 1.1948

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   relations{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.1416721{col 26}{space 2} .1055353{col 37}{space 1}   -1.34{col 46}{space 3}0.190{col 54}{space 4}-.3578514{col 67}{space 3} .0745071
{txt}{space 4}duration {c |}{col 14}{res}{space 2}   .05538{col 26}{space 2} .0824785{col 37}{space 1}    0.67{col 46}{space 3}0.507{col 54}{space 4}-.1135696{col 67}{space 3} .2243296
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0006968{col 26}{space 2}  .007293{col 37}{space 1}   -0.10{col 46}{space 3}0.925{col 54}{space 4}-.0156357{col 67}{space 3} .0142422
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.8143237{col 26}{space 2} .3610644{col 37}{space 1}   -2.26{col 46}{space 3}0.032{col 54}{space 4}-1.553931{col 67}{space 3}-.0747168
{txt}{space 3}education {c |}{col 14}{res}{space 2}  .094453{col 26}{space 2}  .062795{col 37}{space 1}    1.50{col 46}{space 3}0.144{col 54}{space 4}-.0341767{col 67}{space 3} .2230828
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0426264{col 26}{space 2} .0847483{col 37}{space 1}   -0.50{col 46}{space 3}0.619{col 54}{space 4}-.2162254{col 67}{space 3} .1309725
{txt}{space 5}married {c |}{col 14}{res}{space 2} .1219851{col 26}{space 2} .1484411{col 37}{space 1}    0.82{col 46}{space 3}0.418{col 54}{space 4}-.1820828{col 67}{space 3}  .426053
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.5708686{col 26}{space 2} .1533056{col 37}{space 1}   -3.72{col 46}{space 3}0.001{col 54}{space 4}-.8849009{col 67}{space 3}-.2568364
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .1122731{col 26}{space 2} .1467755{col 37}{space 1}    0.76{col 46}{space 3}0.451{col 54}{space 4}-.1883829{col 67}{space 3} .4129292
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2} .1053507{col 26}{space 2}  .167515{col 37}{space 1}    0.63{col 46}{space 3}0.535{col 54}{space 4}-.2377883{col 67}{space 3} .4484897
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2}-.6891577{col 26}{space 2} .1615661{col 37}{space 1}   -4.27{col 46}{space 3}0.000{col 54}{space 4}-1.020111{col 67}{space 3}-.3582046
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .5056426{col 26}{space 2} .4171266{col 37}{space 1}    1.21{col 46}{space 3}0.236{col 54}{space 4}-.3488024{col 67}{space 3} 1.360088
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .7738364{col 26}{space 2} .2495115{col 37}{space 1}    3.10{col 46}{space 3}0.004{col 54}{space 4} .2627352{col 67}{space 3} 1.284938
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .1447685{col 26}{space 2} .1514261{col 37}{space 1}    0.96{col 46}{space 3}0.347{col 54}{space 4}-.1654138{col 67}{space 3} .4549509
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .5818654{col 26}{space 2} .1745756{col 37}{space 1}    3.33{col 46}{space 3}0.002{col 54}{space 4} .2242635{col 67}{space 3} .9394673
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .4003011{col 26}{space 2} .2757392{col 37}{space 1}    1.45{col 46}{space 3}0.158{col 54}{space 4} -.164525{col 67}{space 3} .9651272
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} -.039789{col 26}{space 2}  .228075{col 37}{space 1}   -0.17{col 46}{space 3}0.863{col 54}{space 4}-.5069794{col 67}{space 3} .4274014
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.409288{col 26}{space 2} .1769176{col 37}{space 1}    7.97{col 46}{space 3}0.000{col 54}{space 4} 1.046889{col 67}{space 3} 1.771687
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} 1.368596{col 26}{space 2} .1626354{col 37}{space 1}    8.42{col 46}{space 3}0.000{col 54}{space 4} 1.035452{col 67}{space 3} 1.701739
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} 1.204618{col 26}{space 2} .1563203{col 37}{space 1}    7.71{col 46}{space 3}0.000{col 54}{space 4} .8844102{col 67}{space 3} 1.524825
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .4938782{col 26}{space 2} .2821878{col 37}{space 1}    1.75{col 46}{space 3}0.091{col 54}{space 4}-.0841573{col 67}{space 3} 1.071914
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}  2.52842{col 26}{space 2} .4820173{col 37}{space 1}    5.25{col 46}{space 3}0.000{col 54}{space 4} 1.541053{col 67}{space 3} 3.515788
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store rel1
{txt}
{com}. eststo:reg civ_casual  ied_face ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       455
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1229
                                                {txt}Root MSE          =    {res} 1.2513

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  civ_casual{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2686818{col 26}{space 2} .1119096{col 37}{space 1}   -2.40{col 46}{space 3}0.023{col 54}{space 4}-.4979181{col 67}{space 3}-.0394454
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.1588805{col 26}{space 2} .1065733{col 37}{space 1}   -1.49{col 46}{space 3}0.147{col 54}{space 4} -.377186{col 67}{space 3} .0594249
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0033318{col 26}{space 2} .0079337{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-.0195833{col 67}{space 3} .0129197
{txt}{space 8}male {c |}{col 14}{res}{space 2} -.214867{col 26}{space 2} .3489487{col 37}{space 1}   -0.62{col 46}{space 3}0.543{col 54}{space 4} -.929656{col 67}{space 3}  .499922
{txt}{space 3}education {c |}{col 14}{res}{space 2} .2005043{col 26}{space 2} .0785691{col 37}{space 1}    2.55{col 46}{space 3}0.016{col 54}{space 4} .0395628{col 67}{space 3} .3614458
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0796085{col 26}{space 2} .0631823{col 37}{space 1}   -1.26{col 46}{space 3}0.218{col 54}{space 4}-.2090316{col 67}{space 3} .0498147
{txt}{space 5}married {c |}{col 14}{res}{space 2}  .060965{col 26}{space 2} .1423382{col 37}{space 1}    0.43{col 46}{space 3}0.672{col 54}{space 4}-.2306015{col 67}{space 3} .3525315
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} .0730252{col 26}{space 2} .1562656{col 37}{space 1}    0.47{col 46}{space 3}0.644{col 54}{space 4}-.2470703{col 67}{space 3} .3931208
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} -.045199{col 26}{space 2} .1692855{col 37}{space 1}   -0.27{col 46}{space 3}0.791{col 54}{space 4}-.3919647{col 67}{space 3} .3015668
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.3383951{col 26}{space 2} .2224657{col 37}{space 1}   -1.52{col 46}{space 3}0.139{col 54}{space 4}-.7940953{col 67}{space 3} .1173052
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} 1.589102{col 26}{space 2} .2278413{col 37}{space 1}    6.97{col 46}{space 3}0.000{col 54}{space 4} 1.122391{col 67}{space 3} 2.055814
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} 1.538074{col 26}{space 2} .2418556{col 37}{space 1}    6.36{col 46}{space 3}0.000{col 54}{space 4} 1.042655{col 67}{space 3} 2.033492
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}  .192549{col 26}{space 2} .2185228{col 37}{space 1}    0.88{col 46}{space 3}0.386{col 54}{space 4}-.2550746{col 67}{space 3} .6401726
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .1917884{col 26}{space 2} .2188724{col 37}{space 1}    0.88{col 46}{space 3}0.388{col 54}{space 4}-.2565514{col 67}{space 3} .6401281
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} 1.130925{col 26}{space 2} .2422613{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .6346752{col 67}{space 3} 1.627175
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .9142017{col 26}{space 2} .3735305{col 37}{space 1}    2.45{col 46}{space 3}0.021{col 54}{space 4} .1490593{col 67}{space 3} 1.679344
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} .6227455{col 26}{space 2} .3095785{col 37}{space 1}    2.01{col 46}{space 3}0.054{col 54}{space 4}-.0113972{col 67}{space 3} 1.256888
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .4727064{col 26}{space 2} .3089486{col 37}{space 1}    1.53{col 46}{space 3}0.137{col 54}{space 4} -.160146{col 67}{space 3} 1.105559
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .1752672{col 26}{space 2} .2748587{col 37}{space 1}    0.64{col 46}{space 3}0.529{col 54}{space 4}-.3877553{col 67}{space 3} .7382898
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .6054043{col 26}{space 2} .3049143{col 37}{space 1}    1.99{col 46}{space 3}0.057{col 54}{space 4}-.0191844{col 67}{space 3} 1.229993
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .3386872{col 26}{space 2} .2332358{col 37}{space 1}    1.45{col 46}{space 3}0.158{col 54}{space 4}-.1390746{col 67}{space 3}  .816449
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.512953{col 26}{space 2} .6627058{col 37}{space 1}    3.79{col 46}{space 3}0.001{col 54}{space 4} 1.155462{col 67}{space 3} 3.870445
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store civ_cas1
{txt}
{com}. eststo:reg  attack  ied_face ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       520
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0987
                                                {txt}Root MSE          =    {res} 1.0351

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      attack{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2} .1188531{col 26}{space 2}  .097733{col 37}{space 1}    1.22{col 46}{space 3}0.234{col 54}{space 4}-.0813438{col 67}{space 3}   .31905
{txt}{space 4}duration {c |}{col 14}{res}{space 2} .0237109{col 26}{space 2}  .095695{col 37}{space 1}    0.25{col 46}{space 3}0.806{col 54}{space 4}-.1723114{col 67}{space 3} .2197333
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0039878{col 26}{space 2} .0048005{col 37}{space 1}   -0.83{col 46}{space 3}0.413{col 54}{space 4}-.0138213{col 67}{space 3} .0058456
{txt}{space 8}male {c |}{col 14}{res}{space 2} .3600342{col 26}{space 2} .1818489{col 37}{space 1}    1.98{col 46}{space 3}0.058{col 54}{space 4}-.0124664{col 67}{space 3} .7325347
{txt}{space 3}education {c |}{col 14}{res}{space 2}-.0759942{col 26}{space 2} .0435385{col 37}{space 1}   -1.75{col 46}{space 3}0.092{col 54}{space 4}-.1651788{col 67}{space 3} .0131904
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0144588{col 26}{space 2} .0548254{col 37}{space 1}   -0.26{col 46}{space 3}0.794{col 54}{space 4}-.1267637{col 67}{space 3}  .097846
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0559076{col 26}{space 2} .0725094{col 37}{space 1}   -0.77{col 46}{space 3}0.447{col 54}{space 4}-.2044363{col 67}{space 3} .0926211
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} .1348604{col 26}{space 2} .1420137{col 37}{space 1}    0.95{col 46}{space 3}0.350{col 54}{space 4}-.1560415{col 67}{space 3} .4257623
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .3987444{col 26}{space 2} .1472187{col 37}{space 1}    2.71{col 46}{space 3}0.011{col 54}{space 4} .0971805{col 67}{space 3} .7003084
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.3711141{col 26}{space 2} .3312275{col 37}{space 1}   -1.12{col 46}{space 3}0.272{col 54}{space 4}-1.049603{col 67}{space 3} .3073747
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2}-.6847219{col 26}{space 2} .4671499{col 37}{space 1}   -1.47{col 46}{space 3}0.154{col 54}{space 4}-1.641635{col 67}{space 3} .2721914
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} -.898008{col 26}{space 2} .4803403{col 37}{space 1}   -1.87{col 46}{space 3}0.072{col 54}{space 4}-1.881941{col 67}{space 3} .0859245
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}-.5249096{col 26}{space 2} .4813776{col 37}{space 1}   -1.09{col 46}{space 3}0.285{col 54}{space 4}-1.510967{col 67}{space 3} .4611477
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2}-.2882438{col 26}{space 2}  .460641{col 37}{space 1}   -0.63{col 46}{space 3}0.537{col 54}{space 4}-1.231824{col 67}{space 3} .6553366
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2}-.0150522{col 26}{space 2} .4325037{col 37}{space 1}   -0.03{col 46}{space 3}0.972{col 54}{space 4}-.9009958{col 67}{space 3} .8708913
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2}-.8685475{col 26}{space 2} .4968885{col 37}{space 1}   -1.75{col 46}{space 3}0.091{col 54}{space 4}-1.886377{col 67}{space 3} .1492825
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.7024271{col 26}{space 2} .5035843{col 37}{space 1}   -1.39{col 46}{space 3}0.174{col 54}{space 4}-1.733973{col 67}{space 3} .3291186
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .0850642{col 26}{space 2}  .474082{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.8860488{col 67}{space 3} 1.056177
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2}-.1380517{col 26}{space 2}  .481372{col 37}{space 1}   -0.29{col 46}{space 3}0.776{col 54}{space 4}-1.124098{col 67}{space 3} .8479941
{txt}{space 6}johar  {c |}{col 14}{res}{space 2}  .072856{col 26}{space 2} .5224288{col 37}{space 1}    0.14{col 46}{space 3}0.890{col 54}{space 4} -.997291{col 67}{space 3} 1.143003
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2}-.3078398{col 26}{space 2} .4685931{col 37}{space 1}   -0.66{col 46}{space 3}0.517{col 54}{space 4}-1.267709{col 67}{space 3} .6520297
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.107876{col 26}{space 2} .6265237{col 37}{space 1}    3.36{col 46}{space 3}0.002{col 54}{space 4} .8245004{col 67}{space 3} 3.391252
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store atk1
{txt}
{com}. eststo:reg index_humanrights  ied_face  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       365
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2140
                                                {txt}Root MSE          =    {res} .82545

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.1881041{col 26}{space 2} .0873803{col 37}{space 1}   -2.15{col 46}{space 3}0.040{col 54}{space 4}-.3670945{col 67}{space 3}-.0091138
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.0404208{col 26}{space 2} .0763101{col 37}{space 1}   -0.53{col 46}{space 3}0.601{col 54}{space 4}-.1967349{col 67}{space 3} .1158932
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0052511{col 26}{space 2} .0068238{col 37}{space 1}   -0.77{col 46}{space 3}0.448{col 54}{space 4} -.019229{col 67}{space 3} .0087268
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0868483{col 26}{space 2}  .345942{col 37}{space 1}   -0.25{col 46}{space 3}0.804{col 54}{space 4}-.7954785{col 67}{space 3} .6217818
{txt}{space 3}education {c |}{col 14}{res}{space 2} .1177703{col 26}{space 2} .0695159{col 37}{space 1}    1.69{col 46}{space 3}0.101{col 54}{space 4}-.0246265{col 67}{space 3} .2601671
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0469839{col 26}{space 2} .0608032{col 37}{space 1}   -0.77{col 46}{space 3}0.446{col 54}{space 4}-.1715336{col 67}{space 3} .0775657
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0616389{col 26}{space 2}  .082144{col 37}{space 1}   -0.75{col 46}{space 3}0.459{col 54}{space 4}-.2299032{col 67}{space 3} .1066254
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.2609148{col 26}{space 2} .1090127{col 37}{space 1}   -2.39{col 46}{space 3}0.024{col 54}{space 4}-.4842171{col 67}{space 3}-.0376125
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0764013{col 26}{space 2} .1107958{col 37}{space 1}    0.69{col 46}{space 3}0.496{col 54}{space 4}-.1505535{col 67}{space 3} .3033561
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.3295358{col 26}{space 2} .1891744{col 37}{space 1}   -1.74{col 46}{space 3}0.092{col 54}{space 4}-.7170421{col 67}{space 3} .0579705
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .6601315{col 26}{space 2}  .138339{col 37}{space 1}    4.77{col 46}{space 3}0.000{col 54}{space 4} .3767568{col 67}{space 3} .9435062
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .7398283{col 26}{space 2} .3350274{col 37}{space 1}    2.21{col 46}{space 3}0.036{col 54}{space 4} .0535558{col 67}{space 3} 1.426101
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .1136159{col 26}{space 2} .1790692{col 37}{space 1}    0.63{col 46}{space 3}0.531{col 54}{space 4}-.2531908{col 67}{space 3} .4804226
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .1292344{col 26}{space 2} .1453321{col 37}{space 1}    0.89{col 46}{space 3}0.381{col 54}{space 4}-.1684649{col 67}{space 3} .4269338
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .9485385{col 26}{space 2}  .151877{col 37}{space 1}    6.25{col 46}{space 3}0.000{col 54}{space 4} .6374326{col 67}{space 3} 1.259644
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2}  .394602{col 26}{space 2} .3986946{col 37}{space 1}    0.99{col 46}{space 3}0.331{col 54}{space 4}-.4220868{col 67}{space 3} 1.211291
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.0269298{col 26}{space 2} .2733822{col 37}{space 1}   -0.10{col 46}{space 3}0.922{col 54}{space 4}-.5869278{col 67}{space 3} .5330682
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.020479{col 26}{space 2} .1894812{col 37}{space 1}    5.39{col 46}{space 3}0.000{col 54}{space 4} .6323446{col 67}{space 3} 1.408614
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .6203175{col 26}{space 2} .1725912{col 37}{space 1}    3.59{col 46}{space 3}0.001{col 54}{space 4} .2667805{col 67}{space 3} .9738545
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .6902521{col 26}{space 2} .1782054{col 37}{space 1}    3.87{col 46}{space 3}0.001{col 54}{space 4} .3252149{col 67}{space 3} 1.055289
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .3161417{col 26}{space 2} .2234313{col 37}{space 1}    1.41{col 46}{space 3}0.168{col 54}{space 4}-.1415365{col 67}{space 3} .7738199
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .0531256{col 26}{space 2} .5012057{col 37}{space 1}    0.11{col 46}{space 3}0.916{col 54}{space 4}-.9735477{col 67}{space 3} 1.079799
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)

{com}. estimates store index1
{txt}
{com}. 
. coefplot   (review1, mlabel ("{c -(}it:Protection of civilians is essential{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
> (coop1, mlabel("{c -(}it:Cooperation with civil society {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
> (compln1, mlabel("{c -(}it:Civilians have right to complain{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
> (rel1, mlabel("{c -(}it:Treat Somalis well{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
> (civ_cas1, mlabel("{c -(}it:No civilian casualties{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
> (atk1, mlabel("{c -(}it:Non military options to defeat AS{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>  (index1, mlabel("{c -(}it:Human rights index{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
> , levels(95 ) keep(ied_face ) graphregion(fcolor(white))title("Attitudes: Reported witnessing an IED attack on" "Civilian Abuse(survey)") xline(0, lwidth(thin))  ///
>  omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. * Table A5-Online Appendix: Peacekeeping casualties on Civilian Abuse: Survey with self-reported IED attacks
. esttab using TableA5.rtf, replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) keep (ied_face _cons) mtitles("POC essential"  "Co-op with civ soc"  "Right to complain"  "Treating well obstacle" "Civilian casualties"  "Solution is attacking" "HR index")
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{txt}(output written to {browse  `"TableA5.rtf"'})

{com}. 
. *******
. *Figure 4 (Right Figure) "Attitudes: Real geo-coded IED attacks" "on Civilian Abuse (survey)"
. eststo clear
{txt}
{com}. eststo:reg troops_rec_perform_review  totaliedsincearvl  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       504
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1567
                                                {txt}Root MSE          =    {res}  1.241

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}troops_rec_perf~w{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0193997{col 31}{space 2} .0155852{col 42}{space 1}   -1.24{col 51}{space 3}0.224{col 59}{space 4}-.0513244{col 72}{space 3} .0125251
{txt}{space 9}duration {c |}{col 19}{res}{space 2}-.0547763{col 31}{space 2} .0968767{col 42}{space 1}   -0.57{col 51}{space 3}0.576{col 59}{space 4}-.2532191{col 72}{space 3} .1436666
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0089866{col 31}{space 2}  .007087{col 42}{space 1}   -1.27{col 51}{space 3}0.215{col 59}{space 4}-.0235037{col 72}{space 3} .0055305
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.6302138{col 31}{space 2} .4585298{col 42}{space 1}   -1.37{col 51}{space 3}0.180{col 59}{space 4} -1.56947{col 72}{space 3} .3090419
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0742499{col 31}{space 2} .0888317{col 42}{space 1}    0.84{col 51}{space 3}0.410{col 59}{space 4}-.1077136{col 72}{space 3} .2562134
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.1284317{col 31}{space 2} .0689903{col 42}{space 1}   -1.86{col 51}{space 3}0.073{col 59}{space 4} -.269752{col 72}{space 3} .0128886
{txt}{space 10}married {c |}{col 19}{res}{space 2} -.103653{col 31}{space 2} .1294752{col 42}{space 1}   -0.80{col 51}{space 3}0.430{col 59}{space 4}-.3688709{col 72}{space 3}  .161565
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}  .262238{col 31}{space 2} .1815552{col 42}{space 1}    1.44{col 51}{space 3}0.160{col 59}{space 4} -.109661{col 72}{space 3}  .634137
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2}-.1698778{col 31}{space 2} .1679587{col 42}{space 1}   -1.01{col 51}{space 3}0.320{col 59}{space 4}-.5139257{col 72}{space 3} .1741701
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.4212335{col 31}{space 2} .1709327{col 42}{space 1}   -2.46{col 51}{space 3}0.020{col 59}{space 4}-.7713733{col 72}{space 3}-.0710937
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} 1.112403{col 31}{space 2} .3173988{col 42}{space 1}    3.50{col 51}{space 3}0.002{col 59}{space 4} .4622409{col 72}{space 3} 1.762565
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} 1.562946{col 31}{space 2} .2769025{col 42}{space 1}    5.64{col 51}{space 3}0.000{col 59}{space 4} .9957365{col 72}{space 3} 2.130155
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.5676409{col 31}{space 2}  .428101{col 42}{space 1}   -1.33{col 51}{space 3}0.196{col 59}{space 4}-1.444566{col 72}{space 3} .3092841
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.3690326{col 31}{space 2} .3569427{col 42}{space 1}   -1.03{col 51}{space 3}0.310{col 59}{space 4}-1.100197{col 72}{space 3} .3621314
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2}  .185483{col 31}{space 2}   .31509{col 42}{space 1}    0.59{col 51}{space 3}0.561{col 59}{space 4}-.4599497{col 72}{space 3} .8309157
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} 1.013402{col 31}{space 2} .4103582{col 42}{space 1}    2.47{col 51}{space 3}0.020{col 59}{space 4} .1728217{col 72}{space 3} 1.853983
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2} .6438591{col 31}{space 2} .4582108{col 42}{space 1}    1.41{col 51}{space 3}0.171{col 59}{space 4}-.2947432{col 72}{space 3} 1.582461
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}-.2990285{col 31}{space 2} .3488906{col 42}{space 1}   -0.86{col 51}{space 3}0.399{col 59}{space 4}-1.013698{col 72}{space 3} .4156414
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2}-.1366758{col 31}{space 2} .3208529{col 42}{space 1}   -0.43{col 51}{space 3}0.673{col 59}{space 4}-.7939132{col 72}{space 3} .5205615
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .3147545{col 31}{space 2}  .371473{col 42}{space 1}    0.85{col 51}{space 3}0.404{col 59}{space 4}-.4461735{col 72}{space 3} 1.075683
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .3613569{col 31}{space 2} .4564593{col 42}{space 1}    0.79{col 51}{space 3}0.435{col 59}{space 4}-.5736577{col 72}{space 3} 1.296371
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 4.073395{col 31}{space 2} .5544306{col 42}{space 1}    7.35{col 51}{space 3}0.000{col 59}{space 4} 2.937695{col 72}{space 3} 5.209094
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store review
{txt}
{com}. eststo:reg coop_with_others  totaliedsincearvl  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       505
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1951
                                                {txt}Root MSE          =    {res} 1.0523

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1} coop_with_others{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0114756{col 31}{space 2} .0145807{col 42}{space 1}   -0.79{col 51}{space 3}0.438{col 59}{space 4}-.0413429{col 72}{space 3} .0183917
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0444757{col 31}{space 2} .0905979{col 42}{space 1}    0.49{col 51}{space 3}0.627{col 59}{space 4}-.1411055{col 72}{space 3}  .230057
{txt}{space 14}age {c |}{col 19}{res}{space 2} .0066267{col 31}{space 2} .0084422{col 42}{space 1}    0.78{col 51}{space 3}0.439{col 59}{space 4}-.0106663{col 72}{space 3} .0239197
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.0291823{col 31}{space 2} .2247001{col 42}{space 1}   -0.13{col 51}{space 3}0.898{col 59}{space 4}-.4894595{col 72}{space 3} .4310949
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0714477{col 31}{space 2} .0686979{col 42}{space 1}    1.04{col 51}{space 3}0.307{col 59}{space 4}-.0692736{col 72}{space 3} .2121691
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0901863{col 31}{space 2} .0475985{col 42}{space 1}   -1.89{col 51}{space 3}0.068{col 59}{space 4}-.1876873{col 72}{space 3} .0073147
{txt}{space 10}married {c |}{col 19}{res}{space 2} -.119514{col 31}{space 2} .0981479{col 42}{space 1}   -1.22{col 51}{space 3}0.234{col 59}{space 4}-.3205609{col 72}{space 3} .0815328
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.1973911{col 31}{space 2} .1926653{col 42}{space 1}   -1.02{col 51}{space 3}0.314{col 59}{space 4}-.5920481{col 72}{space 3} .1972659
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0652737{col 31}{space 2} .0885672{col 42}{space 1}    0.74{col 51}{space 3}0.467{col 59}{space 4} -.116148{col 72}{space 3} .2466954
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.1065497{col 31}{space 2} .2154327{col 42}{space 1}   -0.49{col 51}{space 3}0.625{col 59}{space 4}-.5478436{col 72}{space 3} .3347443
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2}  .497071{col 31}{space 2} .2607954{col 42}{space 1}    1.91{col 51}{space 3}0.067{col 59}{space 4}-.0371441{col 72}{space 3} 1.031286
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .8761659{col 31}{space 2} .3098305{col 42}{space 1}    2.83{col 51}{space 3}0.009{col 59}{space 4} .2415069{col 72}{space 3} 1.510825
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.2710733{col 31}{space 2} .3596124{col 42}{space 1}   -0.75{col 51}{space 3}0.457{col 59}{space 4}-1.007706{col 72}{space 3} .4655593
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .0950921{col 31}{space 2} .2868432{col 42}{space 1}    0.33{col 51}{space 3}0.743{col 59}{space 4}-.4924795{col 72}{space 3} .6826637
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} 1.039769{col 31}{space 2} .2771371{col 42}{space 1}    3.75{col 51}{space 3}0.001{col 59}{space 4} .4720794{col 72}{space 3} 1.607459
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .0006297{col 31}{space 2} .4094781{col 42}{space 1}    0.00{col 51}{space 3}0.999{col 59}{space 4}-.8381482{col 72}{space 3} .8394076
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.0506584{col 31}{space 2} .2871267{col 42}{space 1}   -0.18{col 51}{space 3}0.861{col 59}{space 4}-.6388108{col 72}{space 3} .5374939
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}  1.15712{col 31}{space 2} .2994173{col 42}{space 1}    3.86{col 51}{space 3}0.001{col 59}{space 4} .5437911{col 72}{space 3} 1.770448
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} 1.253075{col 31}{space 2} .2611962{col 42}{space 1}    4.80{col 51}{space 3}0.000{col 59}{space 4} .7180388{col 72}{space 3} 1.788111
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .5138657{col 31}{space 2} .3119331{col 42}{space 1}    1.65{col 51}{space 3}0.111{col 59}{space 4}-.1251003{col 72}{space 3} 1.152832
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .2998294{col 31}{space 2} .5260709{col 42}{space 1}    0.57{col 51}{space 3}0.573{col 59}{space 4}-.7777779{col 72}{space 3} 1.377437
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 1.417834{col 31}{space 2} .5096194{col 42}{space 1}    2.78{col 51}{space 3}0.010{col 59}{space 4} .3739262{col 72}{space 3} 2.461742
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store coop
{txt}
{com}. eststo:reg complain  totaliedsincearvl  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       458
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0724
                                                {txt}Root MSE          =    {res} .86342

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         complain{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2} .0093607{col 31}{space 2}  .014001{col 42}{space 1}    0.67{col 51}{space 3}0.509{col 59}{space 4} -.019319{col 72}{space 3} .0380404
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0487014{col 31}{space 2} .0948994{col 42}{space 1}    0.51{col 51}{space 3}0.612{col 59}{space 4}-.1456912{col 72}{space 3}  .243094
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0052917{col 31}{space 2} .0084411{col 42}{space 1}   -0.63{col 51}{space 3}0.536{col 59}{space 4}-.0225824{col 72}{space 3}  .011999
{txt}{space 13}male {c |}{col 19}{res}{space 2} .2010768{col 31}{space 2} .2480685{col 42}{space 1}    0.81{col 51}{space 3}0.424{col 59}{space 4}-.3070684{col 72}{space 3} .7092221
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0784286{col 31}{space 2}  .055619{col 42}{space 1}    1.41{col 51}{space 3}0.170{col 59}{space 4}-.0355018{col 72}{space 3}  .192359
{txt}{space 13}rank {c |}{col 19}{res}{space 2} .0421749{col 31}{space 2} .0545151{col 42}{space 1}    0.77{col 51}{space 3}0.446{col 59}{space 4}-.0694942{col 72}{space 3}  .153844
{txt}{space 10}married {c |}{col 19}{res}{space 2} .0080789{col 31}{space 2} .1049454{col 42}{space 1}    0.08{col 51}{space 3}0.939{col 59}{space 4}-.2068919{col 72}{space 3} .2230497
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.0636799{col 31}{space 2} .0955351{col 42}{space 1}   -0.67{col 51}{space 3}0.511{col 59}{space 4}-.2593746{col 72}{space 3} .1320149
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2}-.0260922{col 31}{space 2} .1048365{col 42}{space 1}   -0.25{col 51}{space 3}0.805{col 59}{space 4}-.2408401{col 72}{space 3} .1886557
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2} .0718027{col 31}{space 2} .1378378{col 42}{space 1}    0.52{col 51}{space 3}0.607{col 59}{space 4}-.2105453{col 72}{space 3} .3541507
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .6782086{col 31}{space 2} .2530708{col 42}{space 1}    2.68{col 51}{space 3}0.012{col 59}{space 4} .1598165{col 72}{space 3} 1.196601
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2}-.4192096{col 31}{space 2} .3179307{col 42}{space 1}   -1.32{col 51}{space 3}0.198{col 59}{space 4}-1.070461{col 72}{space 3} .2320419
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2} .3382736{col 31}{space 2} .3516197{col 42}{space 1}    0.96{col 51}{space 3}0.344{col 59}{space 4}-.3819866{col 72}{space 3} 1.058534
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .1585318{col 31}{space 2} .2739605{col 42}{space 1}    0.58{col 51}{space 3}0.567{col 59}{space 4}-.4026508{col 72}{space 3} .7197143
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .3389748{col 31}{space 2} .2736385{col 42}{space 1}    1.24{col 51}{space 3}0.226{col 59}{space 4}-.2215482{col 72}{space 3} .8994978
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1991152{col 31}{space 2}  .427342{col 42}{space 1}    0.47{col 51}{space 3}0.645{col 59}{space 4}-.6762553{col 72}{space 3} 1.074486
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2} .0411881{col 31}{space 2} .3239265{col 42}{space 1}    0.13{col 51}{space 3}0.900{col 59}{space 4}-.6223452{col 72}{space 3} .7047214
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} .6562771{col 31}{space 2} .3062875{col 42}{space 1}    2.14{col 51}{space 3}0.041{col 59}{space 4} .0288756{col 72}{space 3} 1.283679
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .2828629{col 31}{space 2} .2788246{col 42}{space 1}    1.01{col 51}{space 3}0.319{col 59}{space 4}-.2882834{col 72}{space 3} .8540092
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .1282405{col 31}{space 2} .2864055{col 42}{space 1}    0.45{col 51}{space 3}0.658{col 59}{space 4}-.4584347{col 72}{space 3} .7149156
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .4728322{col 31}{space 2} .2965329{col 42}{space 1}    1.59{col 51}{space 3}0.122{col 59}{space 4}-.1345879{col 72}{space 3} 1.080252
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 2.822387{col 31}{space 2} .4823685{col 42}{space 1}    5.85{col 51}{space 3}0.000{col 59}{space 4}   1.8343{col 72}{space 3} 3.810474
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store compln
{txt}
{com}. eststo:reg relations  totaliedsincearvl ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       487
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1777
                                                {txt}Root MSE          =    {res} 1.1929

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}        relations{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0328022{col 31}{space 2} .0126372{col 42}{space 1}   -2.60{col 51}{space 3}0.015{col 59}{space 4}-.0586883{col 72}{space 3} -.006916
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .1595954{col 31}{space 2} .0974258{col 42}{space 1}    1.64{col 51}{space 3}0.113{col 59}{space 4}-.0399723{col 72}{space 3} .3591631
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0003743{col 31}{space 2} .0070977{col 42}{space 1}   -0.05{col 51}{space 3}0.958{col 59}{space 4}-.0149132{col 72}{space 3} .0141647
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.8290615{col 31}{space 2} .3802168{col 42}{space 1}   -2.18{col 51}{space 3}0.038{col 59}{space 4}  -1.6079{col 72}{space 3}-.0502227
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0855051{col 31}{space 2} .0591575{col 42}{space 1}    1.45{col 51}{space 3}0.159{col 59}{space 4}-.0356735{col 72}{space 3} .2066837
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0394754{col 31}{space 2} .0838739{col 42}{space 1}   -0.47{col 51}{space 3}0.642{col 59}{space 4}-.2112833{col 72}{space 3} .1323325
{txt}{space 10}married {c |}{col 19}{res}{space 2}  .125331{col 31}{space 2} .1432667{col 42}{space 1}    0.87{col 51}{space 3}0.389{col 59}{space 4}-.1681375{col 72}{space 3} .4187995
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.5640261{col 31}{space 2} .1486786{col 42}{space 1}   -3.79{col 51}{space 3}0.001{col 59}{space 4}-.8685804{col 72}{space 3}-.2594718
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .1074332{col 31}{space 2} .1482501{col 42}{space 1}    0.72{col 51}{space 3}0.475{col 59}{space 4}-.1962434{col 72}{space 3} .4111098
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}  .094738{col 31}{space 2} .1670715{col 42}{space 1}    0.57{col 51}{space 3}0.575{col 59}{space 4}-.2474925{col 72}{space 3} .4369684
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2}-.8972759{col 31}{space 2} .1811262{col 42}{space 1}   -4.95{col 51}{space 3}0.000{col 59}{space 4}-1.268296{col 72}{space 3}-.5262556
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .5527918{col 31}{space 2} .2591278{col 42}{space 1}    2.13{col 51}{space 3}0.042{col 59}{space 4} .0219927{col 72}{space 3} 1.083591
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2} .3765838{col 31}{space 2} .3587734{col 42}{space 1}    1.05{col 51}{space 3}0.303{col 59}{space 4}-.3583302{col 72}{space 3} 1.111498
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.0893089{col 31}{space 2} .2425477{col 42}{space 1}   -0.37{col 51}{space 3}0.715{col 59}{space 4}-.5861455{col 72}{space 3} .4075276
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .4699944{col 31}{space 2} .2283507{col 42}{space 1}    2.06{col 51}{space 3}0.049{col 59}{space 4} .0022392{col 72}{space 3} .9377497
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1201649{col 31}{space 2}  .313688{col 42}{space 1}    0.38{col 51}{space 3}0.705{col 59}{space 4}-.5223958{col 72}{space 3} .7627256
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1572624{col 31}{space 2} .2495183{col 42}{space 1}   -0.63{col 51}{space 3}0.534{col 59}{space 4}-.6683774{col 72}{space 3} .3538526
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}  1.27346{col 31}{space 2} .2196505{col 42}{space 1}    5.80{col 51}{space 3}0.000{col 59}{space 4} .8235264{col 72}{space 3} 1.723394
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2}  1.34102{col 31}{space 2} .2000706{col 42}{space 1}    6.70{col 51}{space 3}0.000{col 59}{space 4} .9311936{col 72}{space 3} 1.750846
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} 1.005415{col 31}{space 2} .2150851{col 42}{space 1}    4.67{col 51}{space 3}0.000{col 59}{space 4} .5648333{col 72}{space 3} 1.445997
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .2575848{col 31}{space 2} .3502899{col 42}{space 1}    0.74{col 51}{space 3}0.468{col 59}{space 4}-.4599515{col 72}{space 3} .9751211
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}  2.58048{col 31}{space 2} .5018126{col 42}{space 1}    5.14{col 51}{space 3}0.000{col 59}{space 4} 1.552563{col 72}{space 3} 3.608396
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store rel
{txt}
{com}. eststo:reg civ_casual  totaliedsincearvl ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       454
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1179
                                                {txt}Root MSE          =    {res} 1.2548

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}       civ_casual{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0269677{col 31}{space 2} .0129068{col 42}{space 1}   -2.09{col 51}{space 3}0.046{col 59}{space 4}-.0534061{col 72}{space 3}-.0005292
{txt}{space 9}duration {c |}{col 19}{res}{space 2}-.0813104{col 31}{space 2} .0970629{col 42}{space 1}   -0.84{col 51}{space 3}0.409{col 59}{space 4}-.2801349{col 72}{space 3}  .117514
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0046328{col 31}{space 2} .0082393{col 42}{space 1}   -0.56{col 51}{space 3}0.578{col 59}{space 4}-.0215102{col 72}{space 3} .0122446
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.2230118{col 31}{space 2} .3597884{col 42}{space 1}   -0.62{col 51}{space 3}0.540{col 59}{space 4}-.9600049{col 72}{space 3} .5139812
{txt}{space 8}education {c |}{col 19}{res}{space 2} .2012375{col 31}{space 2} .0766745{col 42}{space 1}    2.62{col 51}{space 3}0.014{col 59}{space 4} .0441768{col 72}{space 3} .3582982
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0811143{col 31}{space 2} .0624082{col 42}{space 1}   -1.30{col 51}{space 3}0.204{col 59}{space 4}-.2089517{col 72}{space 3} .0467231
{txt}{space 10}married {c |}{col 19}{res}{space 2} .0798352{col 31}{space 2} .1524039{col 42}{space 1}    0.52{col 51}{space 3}0.605{col 59}{space 4}-.2323501{col 72}{space 3} .3920205
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2} .0662773{col 31}{space 2}  .152321{col 42}{space 1}    0.44{col 51}{space 3}0.667{col 59}{space 4}-.2457381{col 72}{space 3} .3782928
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2}-.0384443{col 31}{space 2} .1696982{col 42}{space 1}   -0.23{col 51}{space 3}0.822{col 59}{space 4}-.3860554{col 72}{space 3} .3091668
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2} -.371209{col 31}{space 2} .2235434{col 42}{space 1}   -1.66{col 51}{space 3}0.108{col 59}{space 4} -.829117{col 72}{space 3}  .086699
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} 1.354221{col 31}{space 2} .2909013{col 42}{space 1}    4.66{col 51}{space 3}0.000{col 59}{space 4} .7583368{col 72}{space 3} 1.950106
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} 1.568075{col 31}{space 2} .3830096{col 42}{space 1}    4.09{col 51}{space 3}0.000{col 59}{space 4} .7835153{col 72}{space 3} 2.352634
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.0614946{col 31}{space 2} .3359544{col 42}{space 1}   -0.18{col 51}{space 3}0.856{col 59}{space 4} -.749666{col 72}{space 3} .6266767
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .0497924{col 31}{space 2} .3100922{col 42}{space 1}    0.16{col 51}{space 3}0.874{col 59}{space 4}-.5854026{col 72}{space 3} .6849874
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} 1.088797{col 31}{space 2}  .318019{col 42}{space 1}    3.42{col 51}{space 3}0.002{col 59}{space 4}  .437365{col 72}{space 3}  1.74023
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .6968201{col 31}{space 2} .4276647{col 42}{space 1}    1.63{col 51}{space 3}0.114{col 59}{space 4}-.1792114{col 72}{space 3} 1.572852
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2} .4758926{col 31}{space 2} .3491089{col 42}{space 1}    1.36{col 51}{space 3}0.184{col 59}{space 4}-.2392246{col 72}{space 3}  1.19101
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} .4353899{col 31}{space 2}  .378666{col 42}{space 1}    1.15{col 51}{space 3}0.260{col 59}{space 4}-.3402722{col 72}{space 3} 1.211052
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .2142253{col 31}{space 2} .3268186{col 42}{space 1}    0.66{col 51}{space 3}0.518{col 59}{space 4}-.4552322{col 72}{space 3} .8836829
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .4600294{col 31}{space 2} .3456922{col 42}{space 1}    1.33{col 51}{space 3}0.194{col 59}{space 4} -.248089{col 72}{space 3} 1.168148
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2}  .215099{col 31}{space 2} .3246538{col 42}{space 1}    0.66{col 51}{space 3}0.513{col 59}{space 4}-.4499241{col 72}{space 3} .8801221
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 2.529829{col 31}{space 2}  .694328{col 42}{space 1}    3.64{col 51}{space 3}0.001{col 59}{space 4} 1.107563{col 72}{space 3} 3.952095
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store civ_cas
{txt}
{com}. eststo:reg  attack  totaliedsincearvl ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       519
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0964
                                                {txt}Root MSE          =    {res}  1.037

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}           attack{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0102318{col 31}{space 2}  .016118{col 42}{space 1}   -0.63{col 51}{space 3}0.531{col 59}{space 4} -.043248{col 72}{space 3} .0227844
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0695422{col 31}{space 2} .0935511{col 42}{space 1}    0.74{col 51}{space 3}0.463{col 59}{space 4}-.1220886{col 72}{space 3}  .261173
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0027892{col 31}{space 2} .0047952{col 42}{space 1}   -0.58{col 51}{space 3}0.565{col 59}{space 4}-.0126118{col 72}{space 3} .0070335
{txt}{space 13}male {c |}{col 19}{res}{space 2} .3627755{col 31}{space 2} .1897286{col 42}{space 1}    1.91{col 51}{space 3}0.066{col 59}{space 4} -.025866{col 72}{space 3} .7514169
{txt}{space 8}education {c |}{col 19}{res}{space 2}-.0818791{col 31}{space 2} .0469044{col 42}{space 1}   -1.75{col 51}{space 3}0.092{col 59}{space 4}-.1779584{col 72}{space 3} .0142003
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0165147{col 31}{space 2} .0535134{col 42}{space 1}   -0.31{col 51}{space 3}0.760{col 59}{space 4}-.1261319{col 72}{space 3} .0931025
{txt}{space 10}married {c |}{col 19}{res}{space 2} -.066928{col 31}{space 2} .0740517{col 42}{space 1}   -0.90{col 51}{space 3}0.374{col 59}{space 4} -.218616{col 72}{space 3}   .08476
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2} .1364904{col 31}{space 2} .1423305{col 42}{space 1}    0.96{col 51}{space 3}0.346{col 59}{space 4}-.1550603{col 72}{space 3} .4280411
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .3822752{col 31}{space 2} .1545069{col 42}{space 1}    2.47{col 51}{space 3}0.020{col 59}{space 4} .0657822{col 72}{space 3} .6987682
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2} -.363916{col 31}{space 2} .3352163{col 42}{space 1}   -1.09{col 51}{space 3}0.287{col 59}{space 4}-1.050575{col 72}{space 3} .3227434
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2}-.6990302{col 31}{space 2} .4787601{col 42}{space 1}   -1.46{col 51}{space 3}0.155{col 59}{space 4}-1.679726{col 72}{space 3} .2816655
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2}-.8722577{col 31}{space 2} .4756874{col 42}{space 1}   -1.83{col 51}{space 3}0.077{col 59}{space 4}-1.846659{col 72}{space 3} .1021438
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.6970373{col 31}{space 2} .5634337{col 42}{space 1}   -1.24{col 51}{space 3}0.226{col 59}{space 4}-1.851179{col 72}{space 3} .4571044
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.3969454{col 31}{space 2} .5083614{col 42}{space 1}   -0.78{col 51}{space 3}0.441{col 59}{space 4}-1.438276{col 72}{space 3} .6443856
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2}-.1115739{col 31}{space 2} .4786301{col 42}{space 1}   -0.23{col 51}{space 3}0.817{col 59}{space 4}-1.092003{col 72}{space 3} .8688555
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2}-.9528724{col 31}{space 2} .5401068{col 42}{space 1}   -1.76{col 51}{space 3}0.089{col 59}{space 4}-2.059231{col 72}{space 3} .1534863
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.7077344{col 31}{space 2} .5052972{col 42}{space 1}   -1.40{col 51}{space 3}0.172{col 59}{space 4}-1.742789{col 72}{space 3}   .32732
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}-.0399612{col 31}{space 2}  .528172{col 42}{space 1}   -0.08{col 51}{space 3}0.940{col 59}{space 4}-1.121873{col 72}{space 3}  1.04195
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2}-.2106829{col 31}{space 2} .5106208{col 42}{space 1}   -0.41{col 51}{space 3}0.683{col 59}{space 4}-1.256642{col 72}{space 3} .8352763
{txt}{space 11}johar  {c |}{col 19}{res}{space 2}-.0075083{col 31}{space 2} .5524198{col 42}{space 1}   -0.01{col 51}{space 3}0.989{col 59}{space 4}-1.139089{col 72}{space 3} 1.124072
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2}-.4775102{col 31}{space 2} .5258158{col 42}{space 1}   -0.91{col 51}{space 3}0.372{col 59}{space 4}-1.554595{col 72}{space 3} .5995747
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 2.178894{col 31}{space 2} .6555026{col 42}{space 1}    3.32{col 51}{space 3}0.002{col 59}{space 4} .8361582{col 72}{space 3}  3.52163
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store atk
{txt}
{com}. eststo:reg index_humanrights  totaliedsincearvl  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       364
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2139
                                                {txt}Root MSE          =    {res} .82658

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0267156{col 31}{space 2} .0092189{col 42}{space 1}   -2.90{col 51}{space 3}0.007{col 59}{space 4}-.0455997{col 72}{space 3}-.0078314
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0425304{col 31}{space 2} .0842072{col 42}{space 1}    0.51{col 51}{space 3}0.617{col 59}{space 4}-.1299602{col 72}{space 3}  .215021
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0060374{col 31}{space 2}  .007108{col 42}{space 1}   -0.85{col 51}{space 3}0.403{col 59}{space 4}-.0205976{col 72}{space 3} .0085227
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.0770017{col 31}{space 2} .3557131{col 42}{space 1}   -0.22{col 51}{space 3}0.830{col 59}{space 4}-.8056469{col 72}{space 3} .6516436
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1110145{col 31}{space 2}  .070926{col 42}{space 1}    1.57{col 51}{space 3}0.129{col 59}{space 4}-.0342709{col 72}{space 3} .2562998
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0427247{col 31}{space 2} .0572848{col 42}{space 1}   -0.75{col 51}{space 3}0.462{col 59}{space 4}-.1600674{col 72}{space 3} .0746179
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0562093{col 31}{space 2} .0834864{col 42}{space 1}   -0.67{col 51}{space 3}0.506{col 59}{space 4}-.2272235{col 72}{space 3}  .114805
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.2691579{col 31}{space 2} .1060906{col 42}{space 1}   -2.54{col 51}{space 3}0.017{col 59}{space 4}-.4864746{col 72}{space 3}-.0518411
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0779387{col 31}{space 2} .1050756{col 42}{space 1}    0.74{col 51}{space 3}0.464{col 59}{space 4} -.137299{col 72}{space 3} .2931763
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2} -.347294{col 31}{space 2} .1963298{col 42}{space 1}   -1.77{col 51}{space 3}0.088{col 59}{space 4}-.7494575{col 72}{space 3} .0548694
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2}  .441709{col 31}{space 2}  .139965{col 42}{space 1}    3.16{col 51}{space 3}0.004{col 59}{space 4} .1550037{col 72}{space 3} .7284143
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7947421{col 31}{space 2} .1549412{col 42}{space 1}    5.13{col 51}{space 3}0.000{col 59}{space 4} .4773595{col 72}{space 3} 1.112125
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.2074772{col 31}{space 2} .2151503{col 42}{space 1}   -0.96{col 51}{space 3}0.343{col 59}{space 4}-.6481926{col 72}{space 3} .2332382
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.0580695{col 31}{space 2} .1689611{col 42}{space 1}   -0.34{col 51}{space 3}0.734{col 59}{space 4}-.4041706{col 72}{space 3} .2880316
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .8538203{col 31}{space 2} .1576552{col 42}{space 1}    5.42{col 51}{space 3}0.000{col 59}{space 4} .5308783{col 72}{space 3} 1.176762
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1294957{col 31}{space 2} .4176964{col 42}{space 1}    0.31{col 51}{space 3}0.759{col 59}{space 4}-.7261167{col 72}{space 3}  .985108
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1731975{col 31}{space 2} .2582984{col 42}{space 1}   -0.67{col 51}{space 3}0.508{col 59}{space 4}-.7022978{col 72}{space 3} .3559028
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}  .936209{col 31}{space 2} .1999561{col 42}{space 1}    4.68{col 51}{space 3}0.000{col 59}{space 4} .5266175{col 72}{space 3} 1.345801
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .6083851{col 31}{space 2} .1698408{col 42}{space 1}    3.58{col 51}{space 3}0.001{col 59}{space 4} .2604819{col 72}{space 3} .9562882
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .5232997{col 31}{space 2} .1759031{col 42}{space 1}    2.97{col 51}{space 3}0.006{col 59}{space 4} .1629784{col 72}{space 3} .8836209
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .1408179{col 31}{space 2} .2206018{col 42}{space 1}    0.64{col 51}{space 3}0.528{col 59}{space 4}-.3110643{col 72}{space 3} .5927002
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0983744{col 31}{space 2}  .542877{col 42}{space 1}    0.18{col 51}{space 3}0.858{col 59}{space 4}-1.013659{col 72}{space 3} 1.210408
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)

{com}. estimates store index
{txt}
{com}. 
. coefplot   (review, mlabel ("{c -(}it:Protection of civilians is essential{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
> (coop, mlabel("{c -(}it:Cooperation with civil society {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>  (compln, mlabel("{c -(}it:Civilians have right to complain{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>   (rel, mlabel("{c -(}it:Treat Somalis well {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>       (civ_cas, mlabel("{c -(}it:No civilian casualties{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>           (atk, mlabel("{c -(}it:Non military options to defeat AS{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>           (index, mlabel("{c -(}it:Human rights index{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>  , levels(95) keep(totaliedsincearvl ) graphregion(fcolor(white))title("Attitudes: Real geo-coded IED attacks" "on Civilian Abuse (survey)") xline(0, lwidth(thin))  ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. * Table A6-Online Appendix: Peacekeeping casualties and Civilian Abuse: Survey w/geo-coded IED attacks
. esttab using TableA6.rtf, replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) keep (totaliedsincearvl _cons) mtitles("POC essential"  "Co-op with civ soc"  "Right to complain"  "Treating well obstacle" "Civilian casualties"  "Solution is attacking" "HR index")
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{txt}(output written to {browse  `"TableA6.rtf"'})

{com}. ***********
. *Table A5- col. 9 for M.I. (multiple imputation for missing value) 
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. misstable summarize  //  displays missing value
{txt}{col 64}Obs<.
{col 49}{c TLC}{hline 30}
{col 16}{c |}{col 49}{c |} Unique
{col 7}Variable {c |}{col 22}Obs=.{col 32}Obs>.{col 42}Obs<.{col 49}{c |} values{col 65}Min{col 77}Max
  {hline 13}{c +}{hline 32}{c +}{hline 30}
          male {c |}{res}         7{txt}{space 10}{res}       583{txt}  {c |}      2          0           1
          fire {c |}{res}        42{txt}{space 10}{res}       548{txt}  {c |}      4          0           3
      AS_fight {c |}{res}        49{txt}{space 10}{res}       541{txt}  {c |}      4          0           3
        injury {c |}{res}        57{txt}{space 10}{res}       533{txt}  {c |}      4          0           3
        killed {c |}{res}        67{txt}{space 10}{res}       523{txt}  {c |}      4          0           3
  pre_convoy~f {c |}{res}        63{txt}{space 10}{res}       527{txt}  {c |}      3          0           2
  totaliedsi~l {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}     18          0          26
      amsm_cas {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}     15          0          26
       pre_dep {c |}{res}        15{txt}{space 10}{res}       575{txt}  {c |}      2          0           1
  troops_rec~w {c |}{res}        68{txt}{space 10}{res}       522{txt}  {c |}      4          1           4
  coop_with_~s {c |}{res}        66{txt}{space 10}{res}       524{txt}  {c |}      4          1           4
    civ_casual {c |}{res}       119{txt}{space 10}{res}       471{txt}  {c |}      4          1           4
      complain {c |}{res}       115{txt}{space 10}{res}       475{txt}  {c |}      4          1           4
     relations {c |}{res}        84{txt}{space 10}{res}       506{txt}  {c |}      4          1           4
        attack {c |}{res}        53{txt}{space 10}{res}       537{txt}  {c |}      4          1           4
  index_huma~s {c |}{res}       212{txt}{space 10}{res}       378{txt}  {c |}    157  -2.961731    2.050814
          rank {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}      4          1           4
  {hline 13}{c BT}{hline 32}{c BT}{hline 30}

{com}. misstable patterns
{res}
                        {txt}Missing-value patterns
                          (1 means complete)

{res}{txt}{space 2}            {c |}   Pattern
{space 2}  Percent   {c |}  1  2  3  4    5  6  7  8    9 10 11 12   13 14 15 16
{space 2}{hline 12}{c +}{hline 55}
{space 2} {res:    48}%    {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     6}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     4}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     4}     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    1  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  0  0  1  1    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  0  1    1  1  1  1    1  1  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  0  0  0    0  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  0    1  1  0  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  1    0  1  1  0    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  0  0  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  0  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  0  1    1  1  1  0    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  1  0  1    0  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  0  1  1    0  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  0  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  0  0    0  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    0  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    0  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  0  0    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  0    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    0  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    0  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    0  1  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    1  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    1  1  0  1    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    0  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  0  1  0    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    0  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  0  0  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  0    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}{hline 12}{c +}{hline 55}
{space 2}    {res:100}%    {c |}

{space 2}Variables are
{p 6 14 2}
Row 1:
{bind: (1) {res:amsm_cas}}
{bind: (2) {res:totaliedsincearvl}}
{bind: (3) {res:rank}}
{bind: (4) {res:male}}
{bind: (5) {res:pre_dep}}
{bind: (6) {res:fire}}
{bind: (7) {res:AS_fight}}
{bind: (8) {res:attack}}
{bind: (9) {res:injury}}
{bind: (10) {res:pre_convoy_brief}}
{bind: (11) {res:coop_with_others}}
{bind: (12) {res:killed}}
{bind: (13) {res:troops_rec_perform_review}}
{bind: (14) {res:relations}}
{bind: (15) {res:complain}}
{bind: (16) {res:civ_casual}}
{p_end}
{p 6 14 2}
Row 2:
{bind: (1) {res:index_humanrights}}
{p_end}

{com}. drop if ied_face==.
{txt}(0 observations deleted)

{com}. 
. mi set mlong
{txt}
{com}. mi register imputed index_humanrights
{res}{txt}{p}
(212 {it:m}=0 obs now marked as incomplete)
{p_end}

{com}. 
. mi impute regress index_humanrights ied_face , add(5) rseed(123)        
{res}{txt}
Univariate imputation{txt}{col 45}{ralign 12:Imputations }= {res}       5
{txt}Linear regression{txt}{col 45}{ralign 12:added }= {res}       5
{txt}Imputed: {it:m}=1 through {it:m}=5{txt}{col 45}{ralign 12:updated }= {res}       0

{txt}{hline 19}{c TT}{hline 35}{hline 11}
{txt}{col 20}{c |}{center 46:  Observations per {it:m}}
{txt}{col 20}{c LT}{hline 35}{c TT}{hline 10}
{txt}{col 11}Variable {c |}{ralign 12:Complete }{ralign 13:Incomplete }{ralign 10:Imputed }{c |}{ralign 10:Total}
{hline 19}{c +}{hline 35}{c +}{hline 10}
{txt}{ralign 19:index_humanr~s }{c |}{res}        378          212       212 {txt}{c |}{res}       590
{txt}{hline 19}{c BT}{hline 35}{c BT}{hline 10}
{p 0 1 1 66}(Complete + Incomplete = Total; Imputed is the minimum across {it:m}
 of the number of filled-in observations.){p_end}

{com}. mi estimate: regress index_humanrights ied_face ${c -(}controls{c )-},cluster(fob1) 
{res}
{txt}Multiple-imputation estimates{col 49}Imputations{col 67}= {res}         5
{txt}Linear regression{col 49}Number of obs{col 67}= {res}       567
{txt}{col 49}Average RVI{col 67}= {res}    1.7589
{txt}{col 49}Largest FMI{col 67}= {res}    0.7482
{txt}{col 49}Complete DF{col 67}= {res}        28
{txt}{col 49}DF:     min{col 67}= {res}      4.31
{txt}{col 49}        avg{col 67}= {res}     14.56
{txt}DF adjustment:{ralign 15: {res:Small sample}}{col 49}        max{col 67}= {res}     24.51
{txt}{col 49}{help j_robustsingular##|_new:F(  17,      .)}{col 67}=          {res}.
{txt}Within VCE type: {ralign 12:{res:Robust}}{col 49}Prob > F{col 67}=          {res}.

{txt}{ralign 78:(Within VCE adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2549126{col 26}{space 2} .0926822{col 37}{space 1}   -2.75{col 46}{space 3}0.020{col 54}{space 4}-.4607324{col 67}{space 3}-.0490929
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.0164534{col 26}{space 2} .0990738{col 37}{space 1}   -0.17{col 46}{space 3}0.872{col 54}{space 4}-.2421005{col 67}{space 3} .2091936
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0011297{col 26}{space 2} .0065365{col 37}{space 1}    0.17{col 46}{space 3}0.865{col 54}{space 4}-.0129595{col 67}{space 3} .0152188
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.1220922{col 26}{space 2} .3057283{col 37}{space 1}   -0.40{col 46}{space 3}0.696{col 54}{space 4} -.776835{col 67}{space 3} .5326506
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0845402{col 26}{space 2} .0653013{col 37}{space 1}    1.29{col 46}{space 3}0.213{col 54}{space 4}-.0531238{col 67}{space 3} .2222042
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0448395{col 26}{space 2} .0597205{col 37}{space 1}   -0.75{col 46}{space 3}0.467{col 54}{space 4}-.1745439{col 67}{space 3} .0848649
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0460745{col 26}{space 2} .0869334{col 37}{space 1}   -0.53{col 46}{space 3}0.603{col 54}{space 4}-.2298544{col 67}{space 3} .1377055
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.1594443{col 26}{space 2} .1013489{col 37}{space 1}   -1.57{col 46}{space 3}0.134{col 54}{space 4}-.3730403{col 67}{space 3} .0541518
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0384389{col 26}{space 2} .1059088{col 37}{space 1}    0.36{col 46}{space 3}0.721{col 54}{space 4}-.1862578{col 67}{space 3} .2631356
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.1499729{col 26}{space 2} .1462466{col 37}{space 1}   -1.03{col 46}{space 3}0.317{col 54}{space 4} -.454767{col 67}{space 3} .1548212
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .4524417{col 26}{space 2}  .152493{col 37}{space 1}    2.97{col 46}{space 3}0.009{col 54}{space 4} .1283448{col 67}{space 3} .7765387
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .2412919{col 26}{space 2} .2784383{col 37}{space 1}    0.87{col 46}{space 3}0.432{col 54}{space 4}-.5101995{col 67}{space 3} .9927834
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}-.0147647{col 26}{space 2}  .208793{col 37}{space 1}   -0.07{col 46}{space 3}0.945{col 54}{space 4}-.4918007{col 67}{space 3} .4622712
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .0371964{col 26}{space 2} .2398876{col 37}{space 1}    0.16{col 46}{space 3}0.883{col 54}{space 4}-.5917907{col 67}{space 3} .6661835
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .6152022{col 26}{space 2} .1571633{col 37}{space 1}    3.91{col 46}{space 3}0.001{col 54}{space 4} .2893701{col 67}{space 3} .9410344
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .1496106{col 26}{space 2} .3275306{col 37}{space 1}    0.46{col 46}{space 3}0.658{col 54}{space 4}-.5800726{col 67}{space 3} .8792937
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.0406888{col 26}{space 2} .2598655{col 37}{space 1}   -0.16{col 46}{space 3}0.877{col 54}{space 4}-.5802668{col 67}{space 3} .4988893
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .2764368{col 26}{space 2} .2510283{col 37}{space 1}    1.10{col 46}{space 3}0.316{col 54}{space 4}-.3491566{col 67}{space 3} .9020303
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .3291402{col 26}{space 2}  .162204{col 37}{space 1}    2.03{col 46}{space 3}0.056{col 54}{space 4}-.0085626{col 67}{space 3} .6668429
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .3722186{col 26}{space 2} .1736672{col 37}{space 1}    2.14{col 46}{space 3}0.046{col 54}{space 4}  .007275{col 67}{space 3} .7371622
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .0455047{col 26}{space 2} .2050247{col 37}{space 1}    0.22{col 46}{space 3}0.826{col 54}{space 4}-.3771802{col 67}{space 3} .4681895
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.0328632{col 26}{space 2} .4897762{col 37}{space 1}   -0.07{col 46}{space 3}0.947{col 54}{space 4}-1.057803{col 67}{space 3} .9920768
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\SurveyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. misstable summarize  //  displays missing value
{txt}{col 64}Obs<.
{col 49}{c TLC}{hline 30}
{col 16}{c |}{col 49}{c |} Unique
{col 7}Variable {c |}{col 22}Obs=.{col 32}Obs>.{col 42}Obs<.{col 49}{c |} values{col 65}Min{col 77}Max
  {hline 13}{c +}{hline 32}{c +}{hline 30}
          male {c |}{res}         7{txt}{space 10}{res}       583{txt}  {c |}      2          0           1
          fire {c |}{res}        42{txt}{space 10}{res}       548{txt}  {c |}      4          0           3
      AS_fight {c |}{res}        49{txt}{space 10}{res}       541{txt}  {c |}      4          0           3
        injury {c |}{res}        57{txt}{space 10}{res}       533{txt}  {c |}      4          0           3
        killed {c |}{res}        67{txt}{space 10}{res}       523{txt}  {c |}      4          0           3
  pre_convoy~f {c |}{res}        63{txt}{space 10}{res}       527{txt}  {c |}      3          0           2
  totaliedsi~l {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}     18          0          26
      amsm_cas {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}     15          0          26
       pre_dep {c |}{res}        15{txt}{space 10}{res}       575{txt}  {c |}      2          0           1
  troops_rec~w {c |}{res}        68{txt}{space 10}{res}       522{txt}  {c |}      4          1           4
  coop_with_~s {c |}{res}        66{txt}{space 10}{res}       524{txt}  {c |}      4          1           4
    civ_casual {c |}{res}       119{txt}{space 10}{res}       471{txt}  {c |}      4          1           4
      complain {c |}{res}       115{txt}{space 10}{res}       475{txt}  {c |}      4          1           4
     relations {c |}{res}        84{txt}{space 10}{res}       506{txt}  {c |}      4          1           4
        attack {c |}{res}        53{txt}{space 10}{res}       537{txt}  {c |}      4          1           4
  index_huma~s {c |}{res}       212{txt}{space 10}{res}       378{txt}  {c |}    157  -2.961731    2.050814
          rank {c |}{res}         1{txt}{space 10}{res}       589{txt}  {c |}      4          1           4
  {hline 13}{c BT}{hline 32}{c BT}{hline 30}

{com}. misstable patterns
{res}
                        {txt}Missing-value patterns
                          (1 means complete)

{res}{txt}{space 2}            {c |}   Pattern
{space 2}  Percent   {c |}  1  2  3  4    5  6  7  8    9 10 11 12   13 14 15 16
{space 2}{hline 12}{c +}{hline 55}
{space 2} {res:    48}%    {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     6}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     4}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     4}     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     2}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2} {res:     1}     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    1  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  0  0  1  1    1  1  1  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  0  1    1  1  1  1    1  1  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  0  0  0    0  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  0    1  1  0  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  0    1  1  1  1    0  1  1  0    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  0  0  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  0  0  1    1  1  1  1    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  0  1    1  1  1  0    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  1  0  1    0  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  0    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  0  1  1    0  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    0  1  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  0    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  0  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  0  0    0  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    0  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    0  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  0  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  0  0    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  0    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  0  1    1  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  1
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    0  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  0  1  1    1  1  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    0  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    0  1  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    1  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  0    1  1  0  1    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    0  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  0  1  0    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  0  1    1  1  1  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    0  0  0  0    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    0  1  1  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  0  0  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  0    1  1  1  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  0  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  0    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  0  1    1  1  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  0    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    0  1  1  1    1  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  0    1  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  0  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  0  1  1    1  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  0  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  1  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    0  1  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  0  1    1  0  1  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  0    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  0  1  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    0  1  0  0
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}     <1     {c |}  1  1  1  1    1  1  1  1    1  1  1  1    1  0  0  1
{space 2}{space 12}{c |}  0
{space 2}{space 12}{c |}
{space 2}{hline 12}{c +}{hline 55}
{space 2}    {res:100}%    {c |}

{space 2}Variables are
{p 6 14 2}
Row 1:
{bind: (1) {res:amsm_cas}}
{bind: (2) {res:totaliedsincearvl}}
{bind: (3) {res:rank}}
{bind: (4) {res:male}}
{bind: (5) {res:pre_dep}}
{bind: (6) {res:fire}}
{bind: (7) {res:AS_fight}}
{bind: (8) {res:attack}}
{bind: (9) {res:injury}}
{bind: (10) {res:pre_convoy_brief}}
{bind: (11) {res:coop_with_others}}
{bind: (12) {res:killed}}
{bind: (13) {res:troops_rec_perform_review}}
{bind: (14) {res:relations}}
{bind: (15) {res:complain}}
{bind: (16) {res:civ_casual}}
{p_end}
{p 6 14 2}
Row 2:
{bind: (1) {res:index_humanrights}}
{p_end}

{com}. 
. mi set mlong
{txt}
{com}. mi register imputed index_humanrights
{res}{txt}{p}
(212 {it:m}=0 obs now marked as incomplete)
{p_end}

{com}. drop if totaliedsincearvl==.
{txt}(1 observation deleted)

{com}. 
. mi impute regress index_humanrights totaliedsincearvl, add(20) rseed(1234)      
{txt}{p}
(system variable {bf:_mi_id} updated because of changed number of obs)
{p_end}
{res}{txt}
Univariate imputation{txt}{col 45}{ralign 12:Imputations }= {res}      20
{txt}Linear regression{txt}{col 45}{ralign 12:added }= {res}      20
{txt}Imputed: {it:m}=1 through {it:m}=20{txt}{col 45}{ralign 12:updated }= {res}       0

{txt}{hline 19}{c TT}{hline 35}{hline 11}
{txt}{col 20}{c |}{center 46:  Observations per {it:m}}
{txt}{col 20}{c LT}{hline 35}{c TT}{hline 10}
{txt}{col 11}Variable {c |}{ralign 12:Complete }{ralign 13:Incomplete }{ralign 10:Imputed }{c |}{ralign 10:Total}
{hline 19}{c +}{hline 35}{c +}{hline 10}
{txt}{ralign 19:index_humanr~s }{c |}{res}        377          212       212 {txt}{c |}{res}       589
{txt}{hline 19}{c BT}{hline 35}{c BT}{hline 10}
{p 0 1 1 66}(Complete + Incomplete = Total; Imputed is the minimum across {it:m}
 of the number of filled-in observations.){p_end}

{com}. mi estimate: regress index_humanrights totaliedsincearvl  ${c -(}controls{c )-},cluster(fob1) 
{res}
{txt}Multiple-imputation estimates{col 49}Imputations{col 67}= {res}        20
{txt}Linear regression{col 49}Number of obs{col 67}= {res}       566
{txt}{col 49}Average RVI{col 67}= {res}    9.0216
{txt}{col 49}Largest FMI{col 67}= {res}    0.7564
{txt}{col 49}Complete DF{col 67}= {res}        28
{txt}{col 49}DF:     min{col 67}= {res}      6.33
{txt}{col 49}        avg{col 67}= {res}     16.43
{txt}DF adjustment:{ralign 15: {res:Small sample}}{col 49}        max{col 67}= {res}     21.38
{txt}{col 49}{help j_robustsingular##|_new:F(  17,      .)}{col 67}=          {res}.
{txt}Within VCE type: {ralign 12:{res:Robust}}{col 49}Prob > F{col 67}=          {res}.

{txt}{ralign 83:(Within VCE adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  Std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0268799{col 31}{space 2} .0105027{col 42}{space 1}   -2.56{col 51}{space 3}0.024{col 59}{space 4} -.049564{col 72}{space 3}-.0041959
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0328627{col 31}{space 2} .0814513{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.1372985{col 72}{space 3} .2030239
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0012469{col 31}{space 2} .0073386{col 42}{space 1}   -0.17{col 51}{space 3}0.867{col 59}{space 4}-.0166927{col 72}{space 3} .0141988
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.1987838{col 31}{space 2} .2904847{col 42}{space 1}   -0.68{col 51}{space 3}0.501{col 59}{space 4}-.8036514{col 72}{space 3} .4060837
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0601638{col 31}{space 2} .0648204{col 42}{space 1}    0.93{col 51}{space 3}0.364{col 59}{space 4}-.0746575{col 72}{space 3}  .194985
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0247669{col 31}{space 2} .0544768{col 42}{space 1}   -0.45{col 51}{space 3}0.655{col 59}{space 4}-.1392703{col 72}{space 3} .0897365
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0153997{col 31}{space 2} .0963451{col 42}{space 1}   -0.16{col 51}{space 3}0.875{col 59}{space 4}-.2173351{col 72}{space 3} .1865357
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.1938148{col 31}{space 2} .0972306{col 42}{space 1}   -1.99{col 51}{space 3}0.060{col 59}{space 4}-.3964191{col 72}{space 3} .0087895
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0691572{col 31}{space 2} .1232572{col 42}{space 1}    0.56{col 51}{space 3}0.584{col 59}{space 4}-.1973185{col 72}{space 3} .3356329
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.2359496{col 31}{space 2} .2024804{col 42}{space 1}   -1.17{col 51}{space 3}0.262{col 59}{space 4}-.6680686{col 72}{space 3} .1961693
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .3454704{col 31}{space 2} .1460635{col 42}{space 1}    2.37{col 51}{space 3}0.030{col 59}{space 4} .0367593{col 72}{space 3} .6541815
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .4091518{col 31}{space 2} .2667275{col 42}{space 1}    1.53{col 51}{space 3}0.173{col 59}{space 4}-.2354564{col 72}{space 3}  1.05376
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.1784883{col 31}{space 2} .2302329{col 42}{space 1}   -0.78{col 51}{space 3}0.450{col 59}{space 4}-.6682753{col 72}{space 3} .3112987
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.0480405{col 31}{space 2} .1992638{col 42}{space 1}   -0.24{col 51}{space 3}0.813{col 59}{space 4}-.4807901{col 72}{space 3} .3847091
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2}  .587126{col 31}{space 2} .1737797{col 42}{space 1}    3.38{col 51}{space 3}0.004{col 59}{space 4} .2157202{col 72}{space 3} .9585317
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2}-.0194381{col 31}{space 2} .3086867{col 42}{space 1}   -0.06{col 51}{space 3}0.950{col 59}{space 4}-.6688721{col 72}{space 3}  .629996
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.2041632{col 31}{space 2} .2251489{col 42}{space 1}   -0.91{col 51}{space 3}0.375{col 59}{space 4}-.6725814{col 72}{space 3} .2642549
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} .3789331{col 31}{space 2}  .225023{col 42}{space 1}    1.68{col 51}{space 3}0.121{col 59}{space 4}-.1179552{col 72}{space 3} .8758213
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .3088881{col 31}{space 2} .1734549{col 42}{space 1}    1.78{col 51}{space 3}0.098{col 59}{space 4}-.0657972{col 72}{space 3} .6835733
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .3320274{col 31}{space 2} .1755635{col 42}{space 1}    1.89{col 51}{space 3}0.076{col 59}{space 4}-.0388101{col 72}{space 3} .7028649
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .0737978{col 31}{space 2} .2309342{col 42}{space 1}    0.32{col 51}{space 3}0.753{col 59}{space 4}-.4084878{col 72}{space 3} .5560833
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .1299827{col 31}{space 2} .4862953{col 42}{space 1}    0.27{col 51}{space 3}0.792{col 59}{space 4}-.8802439{col 72}{space 3} 1.140209
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\BehaviorData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo:xi:reg civcas iedattack 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(1, 488)       = {res}     4.54
{txt}       Model {c |} {res} 42.6519121         1  42.6519121   {txt}Prob > F        ={res}    0.0336
{txt}    Residual {c |} {res} 4586.00319       488  9.39754752   {txt}R-squared       ={res}    0.0092
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0072
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0655

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .5954934{col 26}{space 2} .2795213{col 37}{space 1}    2.13{col 46}{space 3}0.034{col 54}{space 4} .0462795{col 67}{space 3} 1.144707
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7158273{col 26}{space 2}  .183859{col 37}{space 1}    3.89{col 46}{space 3}0.000{col 54}{space 4} .3545744{col 67}{space 3}  1.07708
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store one
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(3, 486)       = {res}     1.72
{txt}       Model {c |} {res} 48.6811364         3  16.2270455   {txt}Prob > F        ={res}    0.1616
{txt}    Residual {c |} {res} 4579.97397       486  9.42381474   {txt}R-squared       ={res}    0.0105
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0044
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0698

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .5929053{col 26}{space 2} .2800722{col 37}{space 1}    2.12{col 46}{space 3}0.035{col 54}{space 4} .0426035{col 67}{space 3} 1.143207
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0716745{col 26}{space 2} .0975564{col 37}{space 1}   -0.73{col 46}{space 3}0.463{col 54}{space 4}-.2633589{col 67}{space 3}   .12001
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2}-.0569163{col 26}{space 2} .4099079{col 37}{space 1}   -0.14{col 46}{space 3}0.890{col 54}{space 4}-.8623268{col 67}{space 3} .7484942
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .8659704{col 26}{space 2} .2633708{col 37}{space 1}    3.29{col 46}{space 3}0.001{col 54}{space 4} .3484843{col 67}{space 3} 1.383457
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store two
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan  i.location i.year
{txt}i.location{col 19}_Ilocation_1-30{col 39}(naturally coded; _Ilocation_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(37, 452)      = {res}     1.33
{txt}       Model {c |} {res} 455.916117        37  12.3220572   {txt}Prob > F        ={res}    0.0951
{txt}    Residual {c |} {res} 4172.73899       452  9.23172342   {txt}R-squared       ={res}    0.0985
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0247
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0384

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       civcas{col 15}{c |} Coefficient{col 27}  Std. err.{col 39}      t{col 47}   P>|t|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}iedattack {c |}{col 15}{res}{space 2} .8789592{col 27}{space 2} .3039287{col 38}{space 1}    2.89{col 47}{space 3}0.004{col 55}{space 4} .2816706{col 68}{space 3} 1.476248
{txt}{space 5}rainfall {c |}{col 15}{res}{space 2}-.1068005{col 27}{space 2}  .109383{col 38}{space 1}   -0.98{col 47}{space 3}0.329{col 55}{space 4}-.3217629{col 68}{space 3} .1081619
{txt}{space 5}ramadaan {c |}{col 15}{res}{space 2} .2203464{col 27}{space 2} .4485765{col 38}{space 1}    0.49{col 47}{space 3}0.624{col 55}{space 4} -.661208{col 68}{space 3} 1.101901
{txt}{space 1}_Ilocation_2 {c |}{col 15}{res}{space 2} .3903843{col 27}{space 2} 2.214367{col 38}{space 1}    0.18{col 47}{space 3}0.860{col 55}{space 4}-3.961348{col 68}{space 3} 4.742117
{txt}{space 1}_Ilocation_3 {c |}{col 15}{res}{space 2} -.177502{col 27}{space 2} 2.295761{col 38}{space 1}   -0.08{col 47}{space 3}0.938{col 55}{space 4}-4.689192{col 68}{space 3} 4.334188
{txt}{space 1}_Ilocation_4 {c |}{col 15}{res}{space 2}   .52129{col 27}{space 2} 2.356473{col 38}{space 1}    0.22{col 47}{space 3}0.825{col 55}{space 4}-4.109712{col 68}{space 3} 5.152292
{txt}{space 1}_Ilocation_5 {c |}{col 15}{res}{space 2} .1983585{col 27}{space 2}  2.58928{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-4.890163{col 68}{space 3}  5.28688
{txt}{space 1}_Ilocation_6 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 1}_Ilocation_7 {c |}{col 15}{res}{space 2}-.0778792{col 27}{space 2} 2.472281{col 38}{space 1}   -0.03{col 47}{space 3}0.975{col 55}{space 4}-4.936472{col 68}{space 3} 4.780713
{txt}{space 1}_Ilocation_8 {c |}{col 15}{res}{space 2} .6221645{col 27}{space 2} 2.221568{col 38}{space 1}    0.28{col 47}{space 3}0.780{col 55}{space 4}-3.743718{col 68}{space 3} 4.988047
{txt}{space 1}_Ilocation_9 {c |}{col 15}{res}{space 2} .9094683{col 27}{space 2} 2.246398{col 38}{space 1}    0.40{col 47}{space 3}0.686{col 55}{space 4}-3.505211{col 68}{space 3} 5.324148
{txt}_Ilocation_10 {c |}{col 15}{res}{space 2} 2.492543{col 27}{space 2} 2.264195{col 38}{space 1}    1.10{col 47}{space 3}0.272{col 55}{space 4}-1.957113{col 68}{space 3} 6.942199
{txt}_Ilocation_11 {c |}{col 15}{res}{space 2} .2350083{col 27}{space 2} 2.344283{col 38}{space 1}    0.10{col 47}{space 3}0.920{col 55}{space 4}-4.372038{col 68}{space 3} 4.842054
{txt}_Ilocation_12 {c |}{col 15}{res}{space 2} .7212985{col 27}{space 2} 2.549207{col 38}{space 1}    0.28{col 47}{space 3}0.777{col 55}{space 4}-4.288469{col 68}{space 3} 5.731066
{txt}_Ilocation_13 {c |}{col 15}{res}{space 2}-.1773596{col 27}{space 2} 2.794133{col 38}{space 1}   -0.06{col 47}{space 3}0.949{col 55}{space 4}-5.668463{col 68}{space 3} 5.313744
{txt}_Ilocation_14 {c |}{col 15}{res}{space 2}-.4805315{col 27}{space 2} 2.344427{col 38}{space 1}   -0.20{col 47}{space 3}0.838{col 55}{space 4} -5.08786{col 68}{space 3} 4.126797
{txt}_Ilocation_15 {c |}{col 15}{res}{space 2} 5.518128{col 27}{space 2} 2.789372{col 38}{space 1}    1.98{col 47}{space 3}0.049{col 55}{space 4} .0363823{col 68}{space 3} 10.99987
{txt}_Ilocation_16 {c |}{col 15}{res}{space 2}-.0326529{col 27}{space 2} 3.745178{col 38}{space 1}   -0.01{col 47}{space 3}0.993{col 55}{space 4}-7.392775{col 68}{space 3}  7.32747
{txt}_Ilocation_17 {c |}{col 15}{res}{space 2} -.213601{col 27}{space 2} 3.727659{col 38}{space 1}   -0.06{col 47}{space 3}0.954{col 55}{space 4}-7.539295{col 68}{space 3} 7.112093
{txt}_Ilocation_18 {c |}{col 15}{res}{space 2}  1.18737{col 27}{space 2} 3.080846{col 38}{space 1}    0.39{col 47}{space 3}0.700{col 55}{space 4} -4.86719{col 68}{space 3} 7.241931
{txt}_Ilocation_19 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_20 {c |}{col 15}{res}{space 2} .7621944{col 27}{space 2} 2.423818{col 38}{space 1}    0.31{col 47}{space 3}0.753{col 55}{space 4}-4.001156{col 68}{space 3} 5.525545
{txt}_Ilocation_21 {c |}{col 15}{res}{space 2} .1788633{col 27}{space 2} 2.253293{col 38}{space 1}    0.08{col 47}{space 3}0.937{col 55}{space 4}-4.249367{col 68}{space 3} 4.607093
{txt}_Ilocation_22 {c |}{col 15}{res}{space 2} .0348192{col 27}{space 2} 2.274462{col 38}{space 1}    0.02{col 47}{space 3}0.988{col 55}{space 4}-4.435013{col 68}{space 3} 4.504652
{txt}_Ilocation_23 {c |}{col 15}{res}{space 2}-.1558292{col 27}{space 2}  2.33855{col 38}{space 1}   -0.07{col 47}{space 3}0.947{col 55}{space 4}-4.751609{col 68}{space 3} 4.439951
{txt}_Ilocation_24 {c |}{col 15}{res}{space 2}-.9486859{col 27}{space 2} 3.063446{col 38}{space 1}   -0.31{col 47}{space 3}0.757{col 55}{space 4}-6.969051{col 68}{space 3} 5.071679
{txt}_Ilocation_25 {c |}{col 15}{res}{space 2} .9726162{col 27}{space 2} 2.203683{col 38}{space 1}    0.44{col 47}{space 3}0.659{col 55}{space 4}-3.358119{col 68}{space 3} 5.303351
{txt}_Ilocation_26 {c |}{col 15}{res}{space 2} .6865941{col 27}{space 2} 3.766485{col 38}{space 1}    0.18{col 47}{space 3}0.855{col 55}{space 4}-6.715402{col 68}{space 3}  8.08859
{txt}_Ilocation_27 {c |}{col 15}{res}{space 2} 1.993874{col 27}{space 2} 2.215554{col 38}{space 1}    0.90{col 47}{space 3}0.369{col 55}{space 4} -2.36019{col 68}{space 3} 6.347938
{txt}_Ilocation_28 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_29 {c |}{col 15}{res}{space 2}-.4618697{col 27}{space 2} 2.395003{col 38}{space 1}   -0.19{col 47}{space 3}0.847{col 55}{space 4}-5.168593{col 68}{space 3} 4.244853
{txt}_Ilocation_30 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 2}_Iyear_2015 {c |}{col 15}{res}{space 2} .5393521{col 27}{space 2} .7274393{col 38}{space 1}    0.74{col 47}{space 3}0.459{col 55}{space 4}-.8902306{col 68}{space 3} 1.968935
{txt}{space 2}_Iyear_2016 {c |}{col 15}{res}{space 2} .6134997{col 27}{space 2} .7215885{col 38}{space 1}    0.85{col 47}{space 3}0.396{col 55}{space 4}-.8045849{col 68}{space 3} 2.031584
{txt}{space 2}_Iyear_2017 {c |}{col 15}{res}{space 2}-.3067814{col 27}{space 2} .7462525{col 38}{space 1}   -0.41{col 47}{space 3}0.681{col 55}{space 4}-1.773336{col 68}{space 3} 1.159774
{txt}{space 2}_Iyear_2018 {c |}{col 15}{res}{space 2}-.3934959{col 27}{space 2} .7800796{col 38}{space 1}   -0.50{col 47}{space 3}0.614{col 55}{space 4}-1.926529{col 68}{space 3} 1.139537
{txt}{space 2}_Iyear_2019 {c |}{col 15}{res}{space 2}   .44179{col 27}{space 2} 1.032913{col 38}{space 1}    0.43{col 47}{space 3}0.669{col 55}{space 4}-1.588118{col 68}{space 3} 2.471698
{txt}{space 8}_cons {c |}{col 15}{res}{space 2}-.1862977{col 27}{space 2} 2.299182{col 38}{space 1}   -0.08{col 47}{space 3}0.935{col 55}{space 4} -4.70471{col 68}{space 3} 4.332114
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store three
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan  i.region i.year
{txt}i.region{col 19}_Iregion_1-5{col 39}(naturally coded; _Iregion_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(12, 477)      = {res}     2.04
{txt}       Model {c |} {res} 225.554013        12  18.7961678   {txt}Prob > F        ={res}    0.0199
{txt}    Residual {c |} {res} 4403.10109       477  9.23081989   {txt}R-squared       ={res}    0.0487
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0248
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0382

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .6607889{col 26}{space 2} .2830779{col 37}{space 1}    2.33{col 46}{space 3}0.020{col 54}{space 4}  .104555{col 67}{space 3} 1.217023
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0874778{col 26}{space 2}  .104449{col 37}{space 1}   -0.84{col 46}{space 3}0.403{col 54}{space 4}-.2927149{col 67}{space 3} .1177592
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2} .1180846{col 26}{space 2} .4366477{col 37}{space 1}    0.27{col 46}{space 3}0.787{col 54}{space 4}-.7399061{col 67}{space 3} .9760754
{txt}{space 2}_Iregion_2 {c |}{col 14}{res}{space 2} 3.401605{col 26}{space 2} 1.590298{col 37}{space 1}    2.14{col 46}{space 3}0.033{col 54}{space 4} .2767483{col 67}{space 3} 6.526461
{txt}{space 2}_Iregion_3 {c |}{col 14}{res}{space 2}  .207764{col 26}{space 2} .5566499{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.8860251{col 67}{space 3} 1.301553
{txt}{space 2}_Iregion_4 {c |}{col 14}{res}{space 2}-.6857916{col 26}{space 2} .5752188{col 37}{space 1}   -1.19{col 46}{space 3}0.234{col 54}{space 4}-1.816068{col 67}{space 3} .4444844
{txt}{space 2}_Iregion_5 {c |}{col 14}{res}{space 2}  .249205{col 26}{space 2} .4720465{col 37}{space 1}    0.53{col 46}{space 3}0.598{col 54}{space 4}-.6783427{col 67}{space 3} 1.176753
{txt}{space 1}_Iyear_2015 {c |}{col 14}{res}{space 2} .4375675{col 26}{space 2} .6819937{col 37}{space 1}    0.64{col 46}{space 3}0.521{col 54}{space 4}-.9025158{col 67}{space 3} 1.777651
{txt}{space 1}_Iyear_2016 {c |}{col 14}{res}{space 2} .5590822{col 26}{space 2} .6791025{col 37}{space 1}    0.82{col 46}{space 3}0.411{col 54}{space 4}-.7753201{col 67}{space 3} 1.893484
{txt}{space 1}_Iyear_2017 {c |}{col 14}{res}{space 2}-.2904652{col 26}{space 2} .6989106{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-1.663789{col 67}{space 3} 1.082859
{txt}{space 1}_Iyear_2018 {c |}{col 14}{res}{space 2}-.4949915{col 26}{space 2} .7288534{col 37}{space 1}   -0.68{col 46}{space 3}0.497{col 54}{space 4}-1.927152{col 67}{space 3} .9371689
{txt}{space 1}_Iyear_2019 {c |}{col 14}{res}{space 2} .1549442{col 26}{space 2} .9896103{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4} -1.78959{col 67}{space 3} 2.099479
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5794504{col 26}{space 2} .7097488{col 37}{space 1}    0.82{col 46}{space 3}0.415{col 54}{space 4}-.8151703{col 67}{space 3} 1.974071
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store four
{txt}
{com}. 
. coefplot   (one, mlabel ("{c -(}it:Without covariates{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)  ciopts(lcolor(black))) ///
> (two, mlabel("{c -(}it:With covariates {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)   ciopts(lcolor(black))) ///
>  (three, mlabel("{c -(}it:With covariates, Location & Year FE{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)   ciopts(lcolor(black))) ///
>   (four, mlabel("{c -(}it:With covariates, Region & Year FE{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>  , levels(95) keep( iedattack ) graphregion(fcolor(white))title("Behavioral 1: Real time IED attacks" "on real time Civilian Abuse") xline(0, lwidth(thin)) lcolor(red) ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. ** Figure 4- Behavior 2 (Bottom Right)
. eststo clear
{txt}
{com}. eststo:xi:reg  civcas am_offen  rainfall ramadaan i.location i.year
{txt}i.location{col 19}_Ilocation_1-30{col 39}(naturally coded; _Ilocation_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(37, 452)      = {res}     1.25
{txt}       Model {c |} {res} 428.891008        37  11.5916489   {txt}Prob > F        ={res}    0.1562
{txt}    Residual {c |} {res} 4199.76409       452  9.29151348   {txt}R-squared       ={res}    0.0927
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0184
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0482

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       civcas{col 15}{c |} Coefficient{col 27}  Std. err.{col 39}      t{col 47}   P>|t|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}am_offen {c |}{col 15}{res}{space 2} -.980153{col 27}{space 2} .4217432{col 38}{space 1}   -2.32{col 47}{space 3}0.021{col 55}{space 4}-1.808974{col 68}{space 3}-.1513322
{txt}{space 5}rainfall {c |}{col 15}{res}{space 2}-.0437374{col 27}{space 2} .1101219{col 38}{space 1}   -0.40{col 47}{space 3}0.691{col 55}{space 4}-.2601519{col 68}{space 3} .1726771
{txt}{space 5}ramadaan {c |}{col 15}{res}{space 2} .1334184{col 27}{space 2} .4502862{col 38}{space 1}    0.30{col 47}{space 3}0.767{col 55}{space 4}-.7514958{col 68}{space 3} 1.018333
{txt}{space 1}_Ilocation_2 {c |}{col 15}{res}{space 2}-.0555932{col 27}{space 2} 2.241811{col 38}{space 1}   -0.02{col 47}{space 3}0.980{col 55}{space 4}-4.461259{col 68}{space 3} 4.350072
{txt}{space 1}_Ilocation_3 {c |}{col 15}{res}{space 2}-.7109215{col 27}{space 2} 2.330829{col 38}{space 1}   -0.31{col 47}{space 3}0.761{col 55}{space 4}-5.291527{col 68}{space 3} 3.869684
{txt}{space 1}_Ilocation_4 {c |}{col 15}{res}{space 2} .1956536{col 27}{space 2} 2.372214{col 38}{space 1}    0.08{col 47}{space 3}0.934{col 55}{space 4}-4.466283{col 68}{space 3} 4.857591
{txt}{space 1}_Ilocation_5 {c |}{col 15}{res}{space 2}-.0348683{col 27}{space 2} 2.605311{col 38}{space 1}   -0.01{col 47}{space 3}0.989{col 55}{space 4}-5.154893{col 68}{space 3} 5.085157
{txt}{space 1}_Ilocation_6 {c |}{col 15}{res}{space 2}-.9470666{col 27}{space 2} 3.778311{col 38}{space 1}   -0.25{col 47}{space 3}0.802{col 55}{space 4}-8.372302{col 68}{space 3} 6.478169
{txt}{space 1}_Ilocation_7 {c |}{col 15}{res}{space 2}-.4207457{col 27}{space 2} 2.505637{col 38}{space 1}   -0.17{col 47}{space 3}0.867{col 55}{space 4} -5.34489{col 68}{space 3} 4.503399
{txt}{space 1}_Ilocation_8 {c |}{col 15}{res}{space 2}  .348737{col 27}{space 2} 2.244554{col 38}{space 1}    0.16{col 47}{space 3}0.877{col 55}{space 4} -4.06232{col 68}{space 3} 4.759794
{txt}{space 1}_Ilocation_9 {c |}{col 15}{res}{space 2} .5354233{col 27}{space 2}  2.27197{col 38}{space 1}    0.24{col 47}{space 3}0.814{col 55}{space 4}-3.929513{col 68}{space 3} 5.000359
{txt}_Ilocation_10 {c |}{col 15}{res}{space 2} 2.115323{col 27}{space 2} 2.289256{col 38}{space 1}    0.92{col 47}{space 3}0.356{col 55}{space 4}-2.383583{col 68}{space 3} 6.614229
{txt}_Ilocation_11 {c |}{col 15}{res}{space 2}-.1308593{col 27}{space 2} 2.369676{col 38}{space 1}   -0.06{col 47}{space 3}0.956{col 55}{space 4}-4.787809{col 68}{space 3} 4.526091
{txt}_Ilocation_12 {c |}{col 15}{res}{space 2} .5876524{col 27}{space 2} 2.573328{col 38}{space 1}    0.23{col 47}{space 3}0.819{col 55}{space 4}-4.469519{col 68}{space 3} 5.644824
{txt}_Ilocation_13 {c |}{col 15}{res}{space 2}-.7964143{col 27}{space 2} 2.827744{col 38}{space 1}   -0.28{col 47}{space 3}0.778{col 55}{space 4} -6.35357{col 68}{space 3} 4.760742
{txt}_Ilocation_14 {c |}{col 15}{res}{space 2}-.7751853{col 27}{space 2} 2.370067{col 38}{space 1}   -0.33{col 47}{space 3}0.744{col 55}{space 4}-5.432904{col 68}{space 3} 3.882533
{txt}_Ilocation_15 {c |}{col 15}{res}{space 2} 4.943401{col 27}{space 2} 2.823718{col 38}{space 1}    1.75{col 47}{space 3}0.081{col 55}{space 4}-.6058434{col 68}{space 3} 10.49265
{txt}_Ilocation_16 {c |}{col 15}{res}{space 2} -.010651{col 27}{space 2} 3.757294{col 38}{space 1}   -0.00{col 47}{space 3}0.998{col 55}{space 4}-7.394583{col 68}{space 3} 7.373281
{txt}_Ilocation_17 {c |}{col 15}{res}{space 2}-.0874748{col 27}{space 2} 3.739756{col 38}{space 1}   -0.02{col 47}{space 3}0.981{col 55}{space 4}-7.436942{col 68}{space 3} 7.261992
{txt}_Ilocation_18 {c |}{col 15}{res}{space 2} .7088494{col 27}{space 2} 3.115602{col 38}{space 1}    0.23{col 47}{space 3}0.820{col 55}{space 4}-5.414013{col 68}{space 3} 6.831712
{txt}_Ilocation_19 {c |}{col 15}{res}{space 2} .4345994{col 27}{space 2} 3.812376{col 38}{space 1}    0.11{col 47}{space 3}0.909{col 55}{space 4}-7.057582{col 68}{space 3} 7.926781
{txt}_Ilocation_20 {c |}{col 15}{res}{space 2} .1498874{col 27}{space 2} 2.455896{col 38}{space 1}    0.06{col 47}{space 3}0.951{col 55}{space 4}-4.676504{col 68}{space 3} 4.976278
{txt}_Ilocation_21 {c |}{col 15}{res}{space 2}-.1690556{col 27}{space 2} 2.280253{col 38}{space 1}   -0.07{col 47}{space 3}0.941{col 55}{space 4}-4.650268{col 68}{space 3} 4.312156
{txt}_Ilocation_22 {c |}{col 15}{res}{space 2}-.2415398{col 27}{space 2} 2.292259{col 38}{space 1}   -0.11{col 47}{space 3}0.916{col 55}{space 4}-4.746348{col 68}{space 3} 4.263268
{txt}_Ilocation_23 {c |}{col 15}{res}{space 2}-.4539733{col 27}{space 2} 2.367289{col 38}{space 1}   -0.19{col 47}{space 3}0.848{col 55}{space 4}-5.106231{col 68}{space 3} 4.198285
{txt}_Ilocation_24 {c |}{col 15}{res}{space 2}-1.007347{col 27}{space 2} 3.085076{col 38}{space 1}   -0.33{col 47}{space 3}0.744{col 55}{space 4} -7.07022{col 68}{space 3} 5.055526
{txt}_Ilocation_25 {c |}{col 15}{res}{space 2} .6915421{col 27}{space 2} 2.229666{col 38}{space 1}    0.31{col 47}{space 3}0.757{col 55}{space 4}-3.690256{col 68}{space 3}  5.07334
{txt}_Ilocation_26 {c |}{col 15}{res}{space 2} .6690791{col 27}{space 2} 3.778669{col 38}{space 1}    0.18{col 47}{space 3}0.860{col 55}{space 4} -6.75686{col 68}{space 3} 8.095018
{txt}_Ilocation_27 {c |}{col 15}{res}{space 2} 1.221908{col 27}{space 2}  2.25281{col 38}{space 1}    0.54{col 47}{space 3}0.588{col 55}{space 4}-3.205373{col 68}{space 3} 5.649189
{txt}_Ilocation_28 {c |}{col 15}{res}{space 2} .4345994{col 27}{space 2} 3.812376{col 38}{space 1}    0.11{col 47}{space 3}0.909{col 55}{space 4}-7.057582{col 68}{space 3} 7.926781
{txt}_Ilocation_29 {c |}{col 15}{res}{space 2}-.4869942{col 27}{space 2} 2.412357{col 38}{space 1}   -0.20{col 47}{space 3}0.840{col 55}{space 4}-5.227821{col 68}{space 3} 4.253832
{txt}_Ilocation_30 {c |}{col 15}{res}{space 2}-.9470666{col 27}{space 2} 3.778311{col 38}{space 1}   -0.25{col 47}{space 3}0.802{col 55}{space 4}-8.372302{col 68}{space 3} 6.478169
{txt}{space 2}_Iyear_2015 {c |}{col 15}{res}{space 2} .5327252{col 27}{space 2} .7307243{col 38}{space 1}    0.73{col 47}{space 3}0.466{col 55}{space 4}-.9033133{col 68}{space 3} 1.968764
{txt}{space 2}_Iyear_2016 {c |}{col 15}{res}{space 2} .5658116{col 27}{space 2}  .725904{col 38}{space 1}    0.78{col 47}{space 3}0.436{col 55}{space 4} -.860754{col 68}{space 3} 1.992377
{txt}{space 2}_Iyear_2017 {c |}{col 15}{res}{space 2}-.2606861{col 27}{space 2} .7493536{col 38}{space 1}   -0.35{col 47}{space 3}0.728{col 55}{space 4}-1.733335{col 68}{space 3} 1.211963
{txt}{space 2}_Iyear_2018 {c |}{col 15}{res}{space 2}-.2344797{col 27}{space 2} .7798426{col 38}{space 1}   -0.30{col 47}{space 3}0.764{col 55}{space 4}-1.767047{col 68}{space 3} 1.298087
{txt}{space 2}_Iyear_2019 {c |}{col 15}{res}{space 2} .5969512{col 27}{space 2} 1.032255{col 38}{space 1}    0.58{col 47}{space 3}0.563{col 55}{space 4}-1.431662{col 68}{space 3} 2.625565
{txt}{space 8}_cons {c |}{col 15}{res}{space 2}  .589291{col 27}{space 2} 2.345033{col 38}{space 1}    0.25{col 47}{space 3}0.802{col 55}{space 4}-4.019229{col 68}{space 3} 5.197811
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store one_am
{txt}
{com}. eststo:xi:reg  civcas am_offen  rainfall ramadaan  i.region i.year
{txt}i.region{col 19}_Iregion_1-5{col 39}(naturally coded; _Iregion_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(12, 477)      = {res}     2.11
{txt}       Model {c |} {res} 233.771673        12  19.4809727   {txt}Prob > F        ={res}    0.0149
{txt}    Residual {c |} {res} 4394.88343       477  9.21359209   {txt}R-squared       ={res}    0.0505
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0266
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0354

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}am_offen {c |}{col 14}{res}{space 2}-.9879057{col 26}{space 2} .3920059{col 37}{space 1}   -2.52{col 46}{space 3}0.012{col 54}{space 4}-1.758178{col 67}{space 3}-.2176337
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0408507{col 26}{space 2} .1054278{col 37}{space 1}   -0.39{col 46}{space 3}0.699{col 54}{space 4} -.248011{col 67}{space 3} .1663096
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2} .0497332{col 26}{space 2} .4370022{col 37}{space 1}    0.11{col 46}{space 3}0.909{col 54}{space 4}-.8089541{col 67}{space 3} .9084205
{txt}{space 2}_Iregion_2 {c |}{col 14}{res}{space 2} 3.308139{col 26}{space 2} 1.587932{col 37}{space 1}    2.08{col 46}{space 3}0.038{col 54}{space 4} .1879325{col 67}{space 3} 6.428345
{txt}{space 2}_Iregion_3 {c |}{col 14}{res}{space 2} .1247072{col 26}{space 2} .5559202{col 37}{space 1}    0.22{col 46}{space 3}0.823{col 54}{space 4} -.967648{col 67}{space 3} 1.217062
{txt}{space 2}_Iregion_4 {c |}{col 14}{res}{space 2}-.7491906{col 26}{space 2} .5739164{col 37}{space 1}   -1.31{col 46}{space 3}0.192{col 54}{space 4}-1.876907{col 67}{space 3} .3785262
{txt}{space 2}_Iregion_5 {c |}{col 14}{res}{space 2} .1365696{col 26}{space 2} .4721969{col 37}{space 1}    0.29{col 46}{space 3}0.773{col 54}{space 4}-.7912737{col 67}{space 3} 1.064413
{txt}{space 1}_Iyear_2015 {c |}{col 14}{res}{space 2} .4150034{col 26}{space 2} .6817615{col 37}{space 1}    0.61{col 46}{space 3}0.543{col 54}{space 4}-.9246237{col 67}{space 3} 1.754631
{txt}{space 1}_Iyear_2016 {c |}{col 14}{res}{space 2} .4777886{col 26}{space 2} .6811328{col 37}{space 1}    0.70{col 46}{space 3}0.483{col 54}{space 4}-.8606031{col 67}{space 3}  1.81618
{txt}{space 1}_Iyear_2017 {c |}{col 14}{res}{space 2}-.3602641{col 26}{space 2} .7014621{col 37}{space 1}   -0.51{col 46}{space 3}0.608{col 54}{space 4}-1.738602{col 67}{space 3} 1.018074
{txt}{space 1}_Iyear_2018 {c |}{col 14}{res}{space 2}-.3991523{col 26}{space 2} .7251137{col 37}{space 1}   -0.55{col 46}{space 3}0.582{col 54}{space 4}-1.823964{col 67}{space 3}  1.02566
{txt}{space 1}_Iyear_2019 {c |}{col 14}{res}{space 2} .2020703{col 26}{space 2} .9846868{col 37}{space 1}    0.21{col 46}{space 3}0.837{col 54}{space 4} -1.73279{col 67}{space 3}  2.13693
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.058447{col 26}{space 2} .7180968{col 37}{space 1}    1.47{col 46}{space 3}0.141{col 54}{space 4}-.3525775{col 67}{space 3} 2.469471
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store two_am
{txt}
{com}. 
. coefplot   (one_am, mlabel ("{c -(}it:AMISOM Offensive Ops-With covariates, Loc. & Year FE{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)  ciopts(lcolor(black))) ///
> (two_am, mlabel("{c -(}it:AMISOM Offensive Ops-With covariates, Reg. & Year FE {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)   ciopts(lcolor(black))) ///
>  , levels(95) keep( am_offen) graphregion(fcolor(white))title("Behavior2:Effect of AMISOM Offensive Ops" "on real time Civilian Abuse") xline(0, lwidth(thin)) lcolor(red) ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo:xi:reg civcas iedattack 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(1, 488)       = {res}     4.54
{txt}       Model {c |} {res} 42.6519121         1  42.6519121   {txt}Prob > F        ={res}    0.0336
{txt}    Residual {c |} {res} 4586.00319       488  9.39754752   {txt}R-squared       ={res}    0.0092
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0072
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0655

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .5954934{col 26}{space 2} .2795213{col 37}{space 1}    2.13{col 46}{space 3}0.034{col 54}{space 4} .0462795{col 67}{space 3} 1.144707
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7158273{col 26}{space 2}  .183859{col 37}{space 1}    3.89{col 46}{space 3}0.000{col 54}{space 4} .3545744{col 67}{space 3}  1.07708
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store one
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(3, 486)       = {res}     1.72
{txt}       Model {c |} {res} 48.6811364         3  16.2270455   {txt}Prob > F        ={res}    0.1616
{txt}    Residual {c |} {res} 4579.97397       486  9.42381474   {txt}R-squared       ={res}    0.0105
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0044
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0698

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .5929053{col 26}{space 2} .2800722{col 37}{space 1}    2.12{col 46}{space 3}0.035{col 54}{space 4} .0426035{col 67}{space 3} 1.143207
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0716745{col 26}{space 2} .0975564{col 37}{space 1}   -0.73{col 46}{space 3}0.463{col 54}{space 4}-.2633589{col 67}{space 3}   .12001
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2}-.0569163{col 26}{space 2} .4099079{col 37}{space 1}   -0.14{col 46}{space 3}0.890{col 54}{space 4}-.8623268{col 67}{space 3} .7484942
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .8659704{col 26}{space 2} .2633708{col 37}{space 1}    3.29{col 46}{space 3}0.001{col 54}{space 4} .3484843{col 67}{space 3} 1.383457
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store two
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan  i.location i.year
{txt}i.location{col 19}_Ilocation_1-30{col 39}(naturally coded; _Ilocation_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(37, 452)      = {res}     1.33
{txt}       Model {c |} {res} 455.916117        37  12.3220572   {txt}Prob > F        ={res}    0.0951
{txt}    Residual {c |} {res} 4172.73899       452  9.23172342   {txt}R-squared       ={res}    0.0985
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0247
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0384

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       civcas{col 15}{c |} Coefficient{col 27}  Std. err.{col 39}      t{col 47}   P>|t|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}iedattack {c |}{col 15}{res}{space 2} .8789592{col 27}{space 2} .3039287{col 38}{space 1}    2.89{col 47}{space 3}0.004{col 55}{space 4} .2816706{col 68}{space 3} 1.476248
{txt}{space 5}rainfall {c |}{col 15}{res}{space 2}-.1068005{col 27}{space 2}  .109383{col 38}{space 1}   -0.98{col 47}{space 3}0.329{col 55}{space 4}-.3217629{col 68}{space 3} .1081619
{txt}{space 5}ramadaan {c |}{col 15}{res}{space 2} .2203464{col 27}{space 2} .4485765{col 38}{space 1}    0.49{col 47}{space 3}0.624{col 55}{space 4} -.661208{col 68}{space 3} 1.101901
{txt}{space 1}_Ilocation_2 {c |}{col 15}{res}{space 2} .3903843{col 27}{space 2} 2.214367{col 38}{space 1}    0.18{col 47}{space 3}0.860{col 55}{space 4}-3.961348{col 68}{space 3} 4.742117
{txt}{space 1}_Ilocation_3 {c |}{col 15}{res}{space 2} -.177502{col 27}{space 2} 2.295761{col 38}{space 1}   -0.08{col 47}{space 3}0.938{col 55}{space 4}-4.689192{col 68}{space 3} 4.334188
{txt}{space 1}_Ilocation_4 {c |}{col 15}{res}{space 2}   .52129{col 27}{space 2} 2.356473{col 38}{space 1}    0.22{col 47}{space 3}0.825{col 55}{space 4}-4.109712{col 68}{space 3} 5.152292
{txt}{space 1}_Ilocation_5 {c |}{col 15}{res}{space 2} .1983585{col 27}{space 2}  2.58928{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-4.890163{col 68}{space 3}  5.28688
{txt}{space 1}_Ilocation_6 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 1}_Ilocation_7 {c |}{col 15}{res}{space 2}-.0778792{col 27}{space 2} 2.472281{col 38}{space 1}   -0.03{col 47}{space 3}0.975{col 55}{space 4}-4.936472{col 68}{space 3} 4.780713
{txt}{space 1}_Ilocation_8 {c |}{col 15}{res}{space 2} .6221645{col 27}{space 2} 2.221568{col 38}{space 1}    0.28{col 47}{space 3}0.780{col 55}{space 4}-3.743718{col 68}{space 3} 4.988047
{txt}{space 1}_Ilocation_9 {c |}{col 15}{res}{space 2} .9094683{col 27}{space 2} 2.246398{col 38}{space 1}    0.40{col 47}{space 3}0.686{col 55}{space 4}-3.505211{col 68}{space 3} 5.324148
{txt}_Ilocation_10 {c |}{col 15}{res}{space 2} 2.492543{col 27}{space 2} 2.264195{col 38}{space 1}    1.10{col 47}{space 3}0.272{col 55}{space 4}-1.957113{col 68}{space 3} 6.942199
{txt}_Ilocation_11 {c |}{col 15}{res}{space 2} .2350083{col 27}{space 2} 2.344283{col 38}{space 1}    0.10{col 47}{space 3}0.920{col 55}{space 4}-4.372038{col 68}{space 3} 4.842054
{txt}_Ilocation_12 {c |}{col 15}{res}{space 2} .7212985{col 27}{space 2} 2.549207{col 38}{space 1}    0.28{col 47}{space 3}0.777{col 55}{space 4}-4.288469{col 68}{space 3} 5.731066
{txt}_Ilocation_13 {c |}{col 15}{res}{space 2}-.1773596{col 27}{space 2} 2.794133{col 38}{space 1}   -0.06{col 47}{space 3}0.949{col 55}{space 4}-5.668463{col 68}{space 3} 5.313744
{txt}_Ilocation_14 {c |}{col 15}{res}{space 2}-.4805315{col 27}{space 2} 2.344427{col 38}{space 1}   -0.20{col 47}{space 3}0.838{col 55}{space 4} -5.08786{col 68}{space 3} 4.126797
{txt}_Ilocation_15 {c |}{col 15}{res}{space 2} 5.518128{col 27}{space 2} 2.789372{col 38}{space 1}    1.98{col 47}{space 3}0.049{col 55}{space 4} .0363823{col 68}{space 3} 10.99987
{txt}_Ilocation_16 {c |}{col 15}{res}{space 2}-.0326529{col 27}{space 2} 3.745178{col 38}{space 1}   -0.01{col 47}{space 3}0.993{col 55}{space 4}-7.392775{col 68}{space 3}  7.32747
{txt}_Ilocation_17 {c |}{col 15}{res}{space 2} -.213601{col 27}{space 2} 3.727659{col 38}{space 1}   -0.06{col 47}{space 3}0.954{col 55}{space 4}-7.539295{col 68}{space 3} 7.112093
{txt}_Ilocation_18 {c |}{col 15}{res}{space 2}  1.18737{col 27}{space 2} 3.080846{col 38}{space 1}    0.39{col 47}{space 3}0.700{col 55}{space 4} -4.86719{col 68}{space 3} 7.241931
{txt}_Ilocation_19 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_20 {c |}{col 15}{res}{space 2} .7621944{col 27}{space 2} 2.423818{col 38}{space 1}    0.31{col 47}{space 3}0.753{col 55}{space 4}-4.001156{col 68}{space 3} 5.525545
{txt}_Ilocation_21 {c |}{col 15}{res}{space 2} .1788633{col 27}{space 2} 2.253293{col 38}{space 1}    0.08{col 47}{space 3}0.937{col 55}{space 4}-4.249367{col 68}{space 3} 4.607093
{txt}_Ilocation_22 {c |}{col 15}{res}{space 2} .0348192{col 27}{space 2} 2.274462{col 38}{space 1}    0.02{col 47}{space 3}0.988{col 55}{space 4}-4.435013{col 68}{space 3} 4.504652
{txt}_Ilocation_23 {c |}{col 15}{res}{space 2}-.1558292{col 27}{space 2}  2.33855{col 38}{space 1}   -0.07{col 47}{space 3}0.947{col 55}{space 4}-4.751609{col 68}{space 3} 4.439951
{txt}_Ilocation_24 {c |}{col 15}{res}{space 2}-.9486859{col 27}{space 2} 3.063446{col 38}{space 1}   -0.31{col 47}{space 3}0.757{col 55}{space 4}-6.969051{col 68}{space 3} 5.071679
{txt}_Ilocation_25 {c |}{col 15}{res}{space 2} .9726162{col 27}{space 2} 2.203683{col 38}{space 1}    0.44{col 47}{space 3}0.659{col 55}{space 4}-3.358119{col 68}{space 3} 5.303351
{txt}_Ilocation_26 {c |}{col 15}{res}{space 2} .6865941{col 27}{space 2} 3.766485{col 38}{space 1}    0.18{col 47}{space 3}0.855{col 55}{space 4}-6.715402{col 68}{space 3}  8.08859
{txt}_Ilocation_27 {c |}{col 15}{res}{space 2} 1.993874{col 27}{space 2} 2.215554{col 38}{space 1}    0.90{col 47}{space 3}0.369{col 55}{space 4} -2.36019{col 68}{space 3} 6.347938
{txt}_Ilocation_28 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_29 {c |}{col 15}{res}{space 2}-.4618697{col 27}{space 2} 2.395003{col 38}{space 1}   -0.19{col 47}{space 3}0.847{col 55}{space 4}-5.168593{col 68}{space 3} 4.244853
{txt}_Ilocation_30 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 2}_Iyear_2015 {c |}{col 15}{res}{space 2} .5393521{col 27}{space 2} .7274393{col 38}{space 1}    0.74{col 47}{space 3}0.459{col 55}{space 4}-.8902306{col 68}{space 3} 1.968935
{txt}{space 2}_Iyear_2016 {c |}{col 15}{res}{space 2} .6134997{col 27}{space 2} .7215885{col 38}{space 1}    0.85{col 47}{space 3}0.396{col 55}{space 4}-.8045849{col 68}{space 3} 2.031584
{txt}{space 2}_Iyear_2017 {c |}{col 15}{res}{space 2}-.3067814{col 27}{space 2} .7462525{col 38}{space 1}   -0.41{col 47}{space 3}0.681{col 55}{space 4}-1.773336{col 68}{space 3} 1.159774
{txt}{space 2}_Iyear_2018 {c |}{col 15}{res}{space 2}-.3934959{col 27}{space 2} .7800796{col 38}{space 1}   -0.50{col 47}{space 3}0.614{col 55}{space 4}-1.926529{col 68}{space 3} 1.139537
{txt}{space 2}_Iyear_2019 {c |}{col 15}{res}{space 2}   .44179{col 27}{space 2} 1.032913{col 38}{space 1}    0.43{col 47}{space 3}0.669{col 55}{space 4}-1.588118{col 68}{space 3} 2.471698
{txt}{space 8}_cons {c |}{col 15}{res}{space 2}-.1862977{col 27}{space 2} 2.299182{col 38}{space 1}   -0.08{col 47}{space 3}0.935{col 55}{space 4} -4.70471{col 68}{space 3} 4.332114
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store three
{txt}
{com}. eststo:xi:reg  civcas iedattack  rainfall ramadaan  i.region i.year
{txt}i.region{col 19}_Iregion_1-5{col 39}(naturally coded; _Iregion_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(12, 477)      = {res}     2.04
{txt}       Model {c |} {res} 225.554013        12  18.7961678   {txt}Prob > F        ={res}    0.0199
{txt}    Residual {c |} {res} 4403.10109       477  9.23081989   {txt}R-squared       ={res}    0.0487
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0248
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0382

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .6607889{col 26}{space 2} .2830779{col 37}{space 1}    2.33{col 46}{space 3}0.020{col 54}{space 4}  .104555{col 67}{space 3} 1.217023
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0874778{col 26}{space 2}  .104449{col 37}{space 1}   -0.84{col 46}{space 3}0.403{col 54}{space 4}-.2927149{col 67}{space 3} .1177592
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2} .1180846{col 26}{space 2} .4366477{col 37}{space 1}    0.27{col 46}{space 3}0.787{col 54}{space 4}-.7399061{col 67}{space 3} .9760754
{txt}{space 2}_Iregion_2 {c |}{col 14}{res}{space 2} 3.401605{col 26}{space 2} 1.590298{col 37}{space 1}    2.14{col 46}{space 3}0.033{col 54}{space 4} .2767483{col 67}{space 3} 6.526461
{txt}{space 2}_Iregion_3 {c |}{col 14}{res}{space 2}  .207764{col 26}{space 2} .5566499{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.8860251{col 67}{space 3} 1.301553
{txt}{space 2}_Iregion_4 {c |}{col 14}{res}{space 2}-.6857916{col 26}{space 2} .5752188{col 37}{space 1}   -1.19{col 46}{space 3}0.234{col 54}{space 4}-1.816068{col 67}{space 3} .4444844
{txt}{space 2}_Iregion_5 {c |}{col 14}{res}{space 2}  .249205{col 26}{space 2} .4720465{col 37}{space 1}    0.53{col 46}{space 3}0.598{col 54}{space 4}-.6783427{col 67}{space 3} 1.176753
{txt}{space 1}_Iyear_2015 {c |}{col 14}{res}{space 2} .4375675{col 26}{space 2} .6819937{col 37}{space 1}    0.64{col 46}{space 3}0.521{col 54}{space 4}-.9025158{col 67}{space 3} 1.777651
{txt}{space 1}_Iyear_2016 {c |}{col 14}{res}{space 2} .5590822{col 26}{space 2} .6791025{col 37}{space 1}    0.82{col 46}{space 3}0.411{col 54}{space 4}-.7753201{col 67}{space 3} 1.893484
{txt}{space 1}_Iyear_2017 {c |}{col 14}{res}{space 2}-.2904652{col 26}{space 2} .6989106{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-1.663789{col 67}{space 3} 1.082859
{txt}{space 1}_Iyear_2018 {c |}{col 14}{res}{space 2}-.4949915{col 26}{space 2} .7288534{col 37}{space 1}   -0.68{col 46}{space 3}0.497{col 54}{space 4}-1.927152{col 67}{space 3} .9371689
{txt}{space 1}_Iyear_2019 {c |}{col 14}{res}{space 2} .1549442{col 26}{space 2} .9896103{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4} -1.78959{col 67}{space 3} 2.099479
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5794504{col 26}{space 2} .7097488{col 37}{space 1}    0.82{col 46}{space 3}0.415{col 54}{space 4}-.8151703{col 67}{space 3} 1.974071
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store four
{txt}
{com}. eststo:xi:reg  civcas am_offen  rainfall ramadaan  i.location i.year
{txt}i.location{col 19}_Ilocation_1-30{col 39}(naturally coded; _Ilocation_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(37, 452)      = {res}     1.25
{txt}       Model {c |} {res} 428.891008        37  11.5916489   {txt}Prob > F        ={res}    0.1562
{txt}    Residual {c |} {res} 4199.76409       452  9.29151348   {txt}R-squared       ={res}    0.0927
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0184
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0482

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       civcas{col 15}{c |} Coefficient{col 27}  Std. err.{col 39}      t{col 47}   P>|t|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}am_offen {c |}{col 15}{res}{space 2} -.980153{col 27}{space 2} .4217432{col 38}{space 1}   -2.32{col 47}{space 3}0.021{col 55}{space 4}-1.808974{col 68}{space 3}-.1513322
{txt}{space 5}rainfall {c |}{col 15}{res}{space 2}-.0437374{col 27}{space 2} .1101219{col 38}{space 1}   -0.40{col 47}{space 3}0.691{col 55}{space 4}-.2601519{col 68}{space 3} .1726771
{txt}{space 5}ramadaan {c |}{col 15}{res}{space 2} .1334184{col 27}{space 2} .4502862{col 38}{space 1}    0.30{col 47}{space 3}0.767{col 55}{space 4}-.7514958{col 68}{space 3} 1.018333
{txt}{space 1}_Ilocation_2 {c |}{col 15}{res}{space 2}-.0555932{col 27}{space 2} 2.241811{col 38}{space 1}   -0.02{col 47}{space 3}0.980{col 55}{space 4}-4.461259{col 68}{space 3} 4.350072
{txt}{space 1}_Ilocation_3 {c |}{col 15}{res}{space 2}-.7109215{col 27}{space 2} 2.330829{col 38}{space 1}   -0.31{col 47}{space 3}0.761{col 55}{space 4}-5.291527{col 68}{space 3} 3.869684
{txt}{space 1}_Ilocation_4 {c |}{col 15}{res}{space 2} .1956536{col 27}{space 2} 2.372214{col 38}{space 1}    0.08{col 47}{space 3}0.934{col 55}{space 4}-4.466283{col 68}{space 3} 4.857591
{txt}{space 1}_Ilocation_5 {c |}{col 15}{res}{space 2}-.0348683{col 27}{space 2} 2.605311{col 38}{space 1}   -0.01{col 47}{space 3}0.989{col 55}{space 4}-5.154893{col 68}{space 3} 5.085157
{txt}{space 1}_Ilocation_6 {c |}{col 15}{res}{space 2}-.9470666{col 27}{space 2} 3.778311{col 38}{space 1}   -0.25{col 47}{space 3}0.802{col 55}{space 4}-8.372302{col 68}{space 3} 6.478169
{txt}{space 1}_Ilocation_7 {c |}{col 15}{res}{space 2}-.4207457{col 27}{space 2} 2.505637{col 38}{space 1}   -0.17{col 47}{space 3}0.867{col 55}{space 4} -5.34489{col 68}{space 3} 4.503399
{txt}{space 1}_Ilocation_8 {c |}{col 15}{res}{space 2}  .348737{col 27}{space 2} 2.244554{col 38}{space 1}    0.16{col 47}{space 3}0.877{col 55}{space 4} -4.06232{col 68}{space 3} 4.759794
{txt}{space 1}_Ilocation_9 {c |}{col 15}{res}{space 2} .5354233{col 27}{space 2}  2.27197{col 38}{space 1}    0.24{col 47}{space 3}0.814{col 55}{space 4}-3.929513{col 68}{space 3} 5.000359
{txt}_Ilocation_10 {c |}{col 15}{res}{space 2} 2.115323{col 27}{space 2} 2.289256{col 38}{space 1}    0.92{col 47}{space 3}0.356{col 55}{space 4}-2.383583{col 68}{space 3} 6.614229
{txt}_Ilocation_11 {c |}{col 15}{res}{space 2}-.1308593{col 27}{space 2} 2.369676{col 38}{space 1}   -0.06{col 47}{space 3}0.956{col 55}{space 4}-4.787809{col 68}{space 3} 4.526091
{txt}_Ilocation_12 {c |}{col 15}{res}{space 2} .5876524{col 27}{space 2} 2.573328{col 38}{space 1}    0.23{col 47}{space 3}0.819{col 55}{space 4}-4.469519{col 68}{space 3} 5.644824
{txt}_Ilocation_13 {c |}{col 15}{res}{space 2}-.7964143{col 27}{space 2} 2.827744{col 38}{space 1}   -0.28{col 47}{space 3}0.778{col 55}{space 4} -6.35357{col 68}{space 3} 4.760742
{txt}_Ilocation_14 {c |}{col 15}{res}{space 2}-.7751853{col 27}{space 2} 2.370067{col 38}{space 1}   -0.33{col 47}{space 3}0.744{col 55}{space 4}-5.432904{col 68}{space 3} 3.882533
{txt}_Ilocation_15 {c |}{col 15}{res}{space 2} 4.943401{col 27}{space 2} 2.823718{col 38}{space 1}    1.75{col 47}{space 3}0.081{col 55}{space 4}-.6058434{col 68}{space 3} 10.49265
{txt}_Ilocation_16 {c |}{col 15}{res}{space 2} -.010651{col 27}{space 2} 3.757294{col 38}{space 1}   -0.00{col 47}{space 3}0.998{col 55}{space 4}-7.394583{col 68}{space 3} 7.373281
{txt}_Ilocation_17 {c |}{col 15}{res}{space 2}-.0874748{col 27}{space 2} 3.739756{col 38}{space 1}   -0.02{col 47}{space 3}0.981{col 55}{space 4}-7.436942{col 68}{space 3} 7.261992
{txt}_Ilocation_18 {c |}{col 15}{res}{space 2} .7088494{col 27}{space 2} 3.115602{col 38}{space 1}    0.23{col 47}{space 3}0.820{col 55}{space 4}-5.414013{col 68}{space 3} 6.831712
{txt}_Ilocation_19 {c |}{col 15}{res}{space 2} .4345994{col 27}{space 2} 3.812376{col 38}{space 1}    0.11{col 47}{space 3}0.909{col 55}{space 4}-7.057582{col 68}{space 3} 7.926781
{txt}_Ilocation_20 {c |}{col 15}{res}{space 2} .1498874{col 27}{space 2} 2.455896{col 38}{space 1}    0.06{col 47}{space 3}0.951{col 55}{space 4}-4.676504{col 68}{space 3} 4.976278
{txt}_Ilocation_21 {c |}{col 15}{res}{space 2}-.1690556{col 27}{space 2} 2.280253{col 38}{space 1}   -0.07{col 47}{space 3}0.941{col 55}{space 4}-4.650268{col 68}{space 3} 4.312156
{txt}_Ilocation_22 {c |}{col 15}{res}{space 2}-.2415398{col 27}{space 2} 2.292259{col 38}{space 1}   -0.11{col 47}{space 3}0.916{col 55}{space 4}-4.746348{col 68}{space 3} 4.263268
{txt}_Ilocation_23 {c |}{col 15}{res}{space 2}-.4539733{col 27}{space 2} 2.367289{col 38}{space 1}   -0.19{col 47}{space 3}0.848{col 55}{space 4}-5.106231{col 68}{space 3} 4.198285
{txt}_Ilocation_24 {c |}{col 15}{res}{space 2}-1.007347{col 27}{space 2} 3.085076{col 38}{space 1}   -0.33{col 47}{space 3}0.744{col 55}{space 4} -7.07022{col 68}{space 3} 5.055526
{txt}_Ilocation_25 {c |}{col 15}{res}{space 2} .6915421{col 27}{space 2} 2.229666{col 38}{space 1}    0.31{col 47}{space 3}0.757{col 55}{space 4}-3.690256{col 68}{space 3}  5.07334
{txt}_Ilocation_26 {c |}{col 15}{res}{space 2} .6690791{col 27}{space 2} 3.778669{col 38}{space 1}    0.18{col 47}{space 3}0.860{col 55}{space 4} -6.75686{col 68}{space 3} 8.095018
{txt}_Ilocation_27 {c |}{col 15}{res}{space 2} 1.221908{col 27}{space 2}  2.25281{col 38}{space 1}    0.54{col 47}{space 3}0.588{col 55}{space 4}-3.205373{col 68}{space 3} 5.649189
{txt}_Ilocation_28 {c |}{col 15}{res}{space 2} .4345994{col 27}{space 2} 3.812376{col 38}{space 1}    0.11{col 47}{space 3}0.909{col 55}{space 4}-7.057582{col 68}{space 3} 7.926781
{txt}_Ilocation_29 {c |}{col 15}{res}{space 2}-.4869942{col 27}{space 2} 2.412357{col 38}{space 1}   -0.20{col 47}{space 3}0.840{col 55}{space 4}-5.227821{col 68}{space 3} 4.253832
{txt}_Ilocation_30 {c |}{col 15}{res}{space 2}-.9470666{col 27}{space 2} 3.778311{col 38}{space 1}   -0.25{col 47}{space 3}0.802{col 55}{space 4}-8.372302{col 68}{space 3} 6.478169
{txt}{space 2}_Iyear_2015 {c |}{col 15}{res}{space 2} .5327252{col 27}{space 2} .7307243{col 38}{space 1}    0.73{col 47}{space 3}0.466{col 55}{space 4}-.9033133{col 68}{space 3} 1.968764
{txt}{space 2}_Iyear_2016 {c |}{col 15}{res}{space 2} .5658116{col 27}{space 2}  .725904{col 38}{space 1}    0.78{col 47}{space 3}0.436{col 55}{space 4} -.860754{col 68}{space 3} 1.992377
{txt}{space 2}_Iyear_2017 {c |}{col 15}{res}{space 2}-.2606861{col 27}{space 2} .7493536{col 38}{space 1}   -0.35{col 47}{space 3}0.728{col 55}{space 4}-1.733335{col 68}{space 3} 1.211963
{txt}{space 2}_Iyear_2018 {c |}{col 15}{res}{space 2}-.2344797{col 27}{space 2} .7798426{col 38}{space 1}   -0.30{col 47}{space 3}0.764{col 55}{space 4}-1.767047{col 68}{space 3} 1.298087
{txt}{space 2}_Iyear_2019 {c |}{col 15}{res}{space 2} .5969512{col 27}{space 2} 1.032255{col 38}{space 1}    0.58{col 47}{space 3}0.563{col 55}{space 4}-1.431662{col 68}{space 3} 2.625565
{txt}{space 8}_cons {c |}{col 15}{res}{space 2}  .589291{col 27}{space 2} 2.345033{col 38}{space 1}    0.25{col 47}{space 3}0.802{col 55}{space 4}-4.019229{col 68}{space 3} 5.197811
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store five
{txt}
{com}. eststo:xi:reg  civcas am_offen  rainfall ramadaan  i.region i.year
{txt}i.region{col 19}_Iregion_1-5{col 39}(naturally coded; _Iregion_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(12, 477)      = {res}     2.11
{txt}       Model {c |} {res} 233.771673        12  19.4809727   {txt}Prob > F        ={res}    0.0149
{txt}    Residual {c |} {res} 4394.88343       477  9.21359209   {txt}R-squared       ={res}    0.0505
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0266
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0354

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}am_offen {c |}{col 14}{res}{space 2}-.9879057{col 26}{space 2} .3920059{col 37}{space 1}   -2.52{col 46}{space 3}0.012{col 54}{space 4}-1.758178{col 67}{space 3}-.2176337
{txt}{space 4}rainfall {c |}{col 14}{res}{space 2}-.0408507{col 26}{space 2} .1054278{col 37}{space 1}   -0.39{col 46}{space 3}0.699{col 54}{space 4} -.248011{col 67}{space 3} .1663096
{txt}{space 4}ramadaan {c |}{col 14}{res}{space 2} .0497332{col 26}{space 2} .4370022{col 37}{space 1}    0.11{col 46}{space 3}0.909{col 54}{space 4}-.8089541{col 67}{space 3} .9084205
{txt}{space 2}_Iregion_2 {c |}{col 14}{res}{space 2} 3.308139{col 26}{space 2} 1.587932{col 37}{space 1}    2.08{col 46}{space 3}0.038{col 54}{space 4} .1879325{col 67}{space 3} 6.428345
{txt}{space 2}_Iregion_3 {c |}{col 14}{res}{space 2} .1247072{col 26}{space 2} .5559202{col 37}{space 1}    0.22{col 46}{space 3}0.823{col 54}{space 4} -.967648{col 67}{space 3} 1.217062
{txt}{space 2}_Iregion_4 {c |}{col 14}{res}{space 2}-.7491906{col 26}{space 2} .5739164{col 37}{space 1}   -1.31{col 46}{space 3}0.192{col 54}{space 4}-1.876907{col 67}{space 3} .3785262
{txt}{space 2}_Iregion_5 {c |}{col 14}{res}{space 2} .1365696{col 26}{space 2} .4721969{col 37}{space 1}    0.29{col 46}{space 3}0.773{col 54}{space 4}-.7912737{col 67}{space 3} 1.064413
{txt}{space 1}_Iyear_2015 {c |}{col 14}{res}{space 2} .4150034{col 26}{space 2} .6817615{col 37}{space 1}    0.61{col 46}{space 3}0.543{col 54}{space 4}-.9246237{col 67}{space 3} 1.754631
{txt}{space 1}_Iyear_2016 {c |}{col 14}{res}{space 2} .4777886{col 26}{space 2} .6811328{col 37}{space 1}    0.70{col 46}{space 3}0.483{col 54}{space 4}-.8606031{col 67}{space 3}  1.81618
{txt}{space 1}_Iyear_2017 {c |}{col 14}{res}{space 2}-.3602641{col 26}{space 2} .7014621{col 37}{space 1}   -0.51{col 46}{space 3}0.608{col 54}{space 4}-1.738602{col 67}{space 3} 1.018074
{txt}{space 1}_Iyear_2018 {c |}{col 14}{res}{space 2}-.3991523{col 26}{space 2} .7251137{col 37}{space 1}   -0.55{col 46}{space 3}0.582{col 54}{space 4}-1.823964{col 67}{space 3}  1.02566
{txt}{space 1}_Iyear_2019 {c |}{col 14}{res}{space 2} .2020703{col 26}{space 2} .9846868{col 37}{space 1}    0.21{col 46}{space 3}0.837{col 54}{space 4} -1.73279{col 67}{space 3}  2.13693
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.058447{col 26}{space 2} .7180968{col 37}{space 1}    1.47{col 46}{space 3}0.141{col 54}{space 4}-.3525775{col 67}{space 3} 2.469471
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store six
{txt}
{com}. 
. esttab using  TableB9.rtf, replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) keep(iedattack am_offen _cons) ti("Results: Behavioral") addnotes("Controls include rainfall on the day of the incident and Ramadaan dummy. (p-values are for two-sided tests.)")
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{txt}(output written to {browse  `"TableB9.rtf"'})

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\SurveyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. global controls dur age male edu rank married prevAU_UN mil_ops pre_dep  i.dist 
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. * Revenge
. *a) Friend Killed*Witnessed IED attack
. gen kill_dummy=0
{txt}
{com}. replace kill_dummy=1 if killed>0
{txt}(178 real changes made)

{com}. tab kill_dummy

 {txt}kill_dummy {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        412       69.83       69.83
{txt}          1 {c |}{res}        178       30.17      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        590      100.00
{txt}
{com}. tab killed

     {txt}killed {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        412       78.78       78.78
{txt}          1 {c |}{res}         61       11.66       90.44
{txt}          2 {c |}{res}         17        3.25       93.69
{txt}          3 {c |}{res}         33        6.31      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        523      100.00
{txt}
{com}. 
. gen kill_repdummy_ied=ied_face*kill_dummy
{txt}
{com}. 
. eststo clear
{txt}
{com}. reg index_humanrights  ied_face kill_dummy kill_repdummy_ied ${c -(}controls{c )-},cluster(fob1) 

{txt}Linear regression                               Number of obs     = {res}       365
                                                {txt}{help j_robustsingular:F(18, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2225
                                                {txt}Root MSE          =    {res} .82341

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}ied_face {c |}{col 19}{res}{space 2}-.0499765{col 31}{space 2} .1035098{col 42}{space 1}   -0.48{col 51}{space 3}0.633{col 59}{space 4}-.2620067{col 72}{space 3} .1620538
{txt}{space 7}kill_dummy {c |}{col 19}{res}{space 2}  .232286{col 31}{space 2} .1927491{col 42}{space 1}    1.21{col 51}{space 3}0.238{col 59}{space 4}-.1625427{col 72}{space 3} .6271147
{txt}kill_repdummy_ied {c |}{col 19}{res}{space 2}-.4380368{col 31}{space 2} .1917247{col 42}{space 1}   -2.28{col 51}{space 3}0.030{col 59}{space 4}-.8307671{col 72}{space 3}-.0453066
{txt}{space 9}duration {c |}{col 19}{res}{space 2}-.0297984{col 31}{space 2} .0802153{col 42}{space 1}   -0.37{col 51}{space 3}0.713{col 59}{space 4} -.194112{col 72}{space 3} .1345153
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0057397{col 31}{space 2}   .00655{col 42}{space 1}   -0.88{col 51}{space 3}0.388{col 59}{space 4}-.0191567{col 72}{space 3} .0076773
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.0881596{col 31}{space 2} .3662409{col 42}{space 1}   -0.24{col 51}{space 3}0.812{col 59}{space 4}-.8383701{col 72}{space 3}  .662051
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1229386{col 31}{space 2} .0674346{col 42}{space 1}    1.82{col 51}{space 3}0.079{col 59}{space 4}-.0151949{col 72}{space 3}  .261072
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0444123{col 31}{space 2} .0604864{col 42}{space 1}   -0.73{col 51}{space 3}0.469{col 59}{space 4}-.1683131{col 72}{space 3} .0794885
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0884764{col 31}{space 2}  .079679{col 42}{space 1}   -1.11{col 51}{space 3}0.276{col 59}{space 4}-.2516914{col 72}{space 3} .0747387
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.2610182{col 31}{space 2}   .10934{col 42}{space 1}   -2.39{col 51}{space 3}0.024{col 59}{space 4} -.484991{col 72}{space 3}-.0370453
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2}  .088964{col 31}{space 2} .1175809{col 42}{space 1}    0.76{col 51}{space 3}0.456{col 59}{space 4}-.1518896{col 72}{space 3} .3298176
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.3230096{col 31}{space 2} .1798201{col 42}{space 1}   -1.80{col 51}{space 3}0.083{col 59}{space 4}-.6913544{col 72}{space 3} .0453351
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .5555545{col 31}{space 2} .1437465{col 42}{space 1}    3.86{col 51}{space 3}0.001{col 59}{space 4} .2611032{col 72}{space 3} .8500059
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7523096{col 31}{space 2} .2912012{col 42}{space 1}    2.58{col 51}{space 3}0.015{col 59}{space 4}  .155811{col 72}{space 3} 1.348808
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}  .068934{col 31}{space 2} .1780913{col 42}{space 1}    0.39{col 51}{space 3}0.702{col 59}{space 4}-.2958696{col 72}{space 3} .4337375
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .1548777{col 31}{space 2} .1304331{col 42}{space 1}    1.19{col 51}{space 3}0.245{col 59}{space 4}-.1123024{col 72}{space 3} .4220578
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .9234733{col 31}{space 2} .1409783{col 42}{space 1}    6.55{col 51}{space 3}0.000{col 59}{space 4} .6346924{col 72}{space 3} 1.212254
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .3962582{col 31}{space 2} .3790094{col 42}{space 1}    1.05{col 51}{space 3}0.305{col 59}{space 4}-.3801073{col 72}{space 3} 1.172624
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.0137149{col 31}{space 2} .2723014{col 42}{space 1}   -0.05{col 51}{space 3}0.960{col 59}{space 4}-.5714991{col 72}{space 3} .5440693
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} 1.063662{col 31}{space 2} .1855692{col 42}{space 1}    5.73{col 51}{space 3}0.000{col 59}{space 4} .6835409{col 72}{space 3} 1.443783
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .6344521{col 31}{space 2} .1642578{col 42}{space 1}    3.86{col 51}{space 3}0.001{col 59}{space 4} .2979853{col 72}{space 3} .9709188
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .6994658{col 31}{space 2}  .168918{col 42}{space 1}    4.14{col 51}{space 3}0.000{col 59}{space 4}  .353453{col 72}{space 3} 1.045479
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .3107591{col 31}{space 2}  .227727{col 42}{space 1}    1.36{col 51}{space 3}0.183{col 59}{space 4}-.1557185{col 72}{space 3} .7772368
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0118884{col 31}{space 2} .5008789{col 42}{space 1}    0.02{col 51}{space 3}0.981{col 59}{space 4}-1.014115{col 72}{space 3} 1.037892
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. esttab,keep(kill_repdummy_ied ied_face kill_dummy _cons) b(2) se(2) cons replace star(* 0.1 ** 0.05 *** 0.01 ) r2  ti("Reported killings interacted with reported IED attack") addnotes("Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)")
{res}
{txt}Reported killings interacted with reported IED attack
{txt}{hline 28}
{txt}                      (1)   
{txt}             index_huma~s   
{txt}{hline 28}
{txt}ied_face    {res}        -0.05   {txt}
            {res} {ralign 12:{txt:(}0.10{txt:)}}   {txt}

{txt}kill_dummy  {res}         0.23   {txt}
            {res} {ralign 12:{txt:(}0.19{txt:)}}   {txt}

{txt}kill_repdu~d{res}        -0.44** {txt}
            {res} {ralign 12:{txt:(}0.19{txt:)}}   {txt}

{txt}_cons       {res}         0.01   {txt}
            {res} {ralign 12:{txt:(}0.50{txt:)}}   {txt}
{txt}{hline 28}
{txt}N           {res}          365   {txt}
{txt}R-sq        {res}        0.223   {txt}
{txt}{hline 28}
{txt}Standard errors in parentheses
{txt}Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. * b) Friend Injured*Witnessed IED attack
. 
. gen injr_dummy=0
{txt}
{com}. replace injr_dummy=1 if injury>0
{txt}(226 real changes made)

{com}. tab injr_dummy

 {txt}injr_dummy {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        364       61.69       61.69
{txt}          1 {c |}{res}        226       38.31      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        590      100.00
{txt}
{com}. tab injury

     {txt}injury {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        364       68.29       68.29
{txt}          1 {c |}{res}         91       17.07       85.37
{txt}          2 {c |}{res}         37        6.94       92.31
{txt}          3 {c |}{res}         41        7.69      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        533      100.00
{txt}
{com}. 
. gen injr_repdummy_ied=ied_face*injr_dummy
{txt}
{com}. 
. eststo clear
{txt}
{com}. reg index_humanrights  injr_repdummy_ied injr_dummy ied_face ${c -(}controls{c )-},cluster(fob1) 

{txt}Linear regression                               Number of obs     = {res}       365
                                                {txt}{help j_robustsingular:F(18, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2185
                                                {txt}Root MSE          =    {res} .82551

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
injr_repdummy_ied {c |}{col 19}{res}{space 2}-.2921388{col 31}{space 2}  .189451{col 42}{space 1}   -1.54{col 51}{space 3}0.134{col 59}{space 4}-.6802115{col 72}{space 3}  .095934
{txt}{space 7}injr_dummy {c |}{col 19}{res}{space 2} .2218739{col 31}{space 2} .1790907{col 42}{space 1}    1.24{col 51}{space 3}0.226{col 59}{space 4}-.1449768{col 72}{space 3} .5887246
{txt}{space 9}ied_face {c |}{col 19}{res}{space 2}-.0988117{col 31}{space 2} .1249044{col 42}{space 1}   -0.79{col 51}{space 3}0.436{col 59}{space 4}-.3546668{col 72}{space 3} .1570434
{txt}{space 9}duration {c |}{col 19}{res}{space 2}-.0438649{col 31}{space 2} .0780149{col 42}{space 1}   -0.56{col 51}{space 3}0.578{col 59}{space 4}-.2036711{col 72}{space 3} .1159414
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0059698{col 31}{space 2} .0066322{col 42}{space 1}   -0.90{col 51}{space 3}0.376{col 59}{space 4}-.0195552{col 72}{space 3} .0076156
{txt}{space 13}male {c |}{col 19}{res}{space 2} -.086188{col 31}{space 2} .3553732{col 42}{space 1}   -0.24{col 51}{space 3}0.810{col 59}{space 4} -.814137{col 72}{space 3}  .641761
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1164423{col 31}{space 2}  .068796{col 42}{space 1}    1.69{col 51}{space 3}0.102{col 59}{space 4}-.0244799{col 72}{space 3} .2573644
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0424479{col 31}{space 2} .0597375{col 42}{space 1}   -0.71{col 51}{space 3}0.483{col 59}{space 4}-.1648147{col 72}{space 3} .0799189
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0704752{col 31}{space 2} .0790789{col 42}{space 1}   -0.89{col 51}{space 3}0.380{col 59}{space 4} -.232461{col 72}{space 3} .0915106
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.2624758{col 31}{space 2} .1091467{col 42}{space 1}   -2.40{col 51}{space 3}0.023{col 59}{space 4}-.4860527{col 72}{space 3}-.0388989
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0829883{col 31}{space 2} .1144916{col 42}{space 1}    0.72{col 51}{space 3}0.475{col 59}{space 4}-.1515371{col 72}{space 3} .3175136
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.3268433{col 31}{space 2}  .181568{col 42}{space 1}   -1.80{col 51}{space 3}0.083{col 59}{space 4}-.6987685{col 72}{space 3} .0450819
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .6783157{col 31}{space 2} .1393526{col 42}{space 1}    4.87{col 51}{space 3}0.000{col 59}{space 4} .3928648{col 72}{space 3} .9637666
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7370108{col 31}{space 2} .3145571{col 42}{space 1}    2.34{col 51}{space 3}0.026{col 59}{space 4} .0926697{col 72}{space 3} 1.381352
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2} .1109805{col 31}{space 2} .1792314{col 42}{space 1}    0.62{col 51}{space 3}0.541{col 59}{space 4}-.2561584{col 72}{space 3} .4781195
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .1229868{col 31}{space 2} .1333671{col 42}{space 1}    0.92{col 51}{space 3}0.364{col 59}{space 4}-.1502034{col 72}{space 3} .3961769
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .9277711{col 31}{space 2} .1451929{col 42}{space 1}    6.39{col 51}{space 3}0.000{col 59}{space 4}  .630357{col 72}{space 3} 1.225185
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .3663555{col 31}{space 2} .3776723{col 42}{space 1}    0.97{col 51}{space 3}0.340{col 59}{space 4}-.4072711{col 72}{space 3} 1.139982
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.0454235{col 31}{space 2} .2714146{col 42}{space 1}   -0.17{col 51}{space 3}0.868{col 59}{space 4} -.601391{col 72}{space 3} .5105441
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} 1.055754{col 31}{space 2} .1897026{col 42}{space 1}    5.57{col 51}{space 3}0.000{col 59}{space 4} .6671659{col 72}{space 3} 1.444342
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .6258597{col 31}{space 2}  .166969{col 42}{space 1}    3.75{col 51}{space 3}0.001{col 59}{space 4} .2838393{col 72}{space 3} .9678801
{txt}{space 11}johar  {c |}{col 19}{res}{space 2}  .670207{col 31}{space 2} .1666577{col 42}{space 1}    4.02{col 51}{space 3}0.000{col 59}{space 4} .3288241{col 72}{space 3}  1.01159
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .3351185{col 31}{space 2}  .228258{col 42}{space 1}    1.47{col 51}{space 3}0.153{col 59}{space 4}-.1324468{col 72}{space 3} .8026837
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0496833{col 31}{space 2} .5050876{col 42}{space 1}    0.10{col 51}{space 3}0.922{col 59}{space 4}-.9849418{col 72}{space 3} 1.084308
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. esttab,keep(injr_repdummy_ied injr_dummy ied_face _cons) b(2) se(2) cons replace star(* 0.1 ** 0.05 *** 0.01 ) r2  ti("Reported killings interacted with reported IED attack") addnotes("Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)")
{res}
{txt}Reported killings interacted with reported IED attack
{txt}{hline 28}
{txt}                      (1)   
{txt}             index_huma~s   
{txt}{hline 28}
{txt}injr_repdu~d{res}        -0.29   {txt}
            {res} {ralign 12:{txt:(}0.19{txt:)}}   {txt}

{txt}injr_dummy  {res}         0.22   {txt}
            {res} {ralign 12:{txt:(}0.18{txt:)}}   {txt}

{txt}ied_face    {res}        -0.10   {txt}
            {res} {ralign 12:{txt:(}0.12{txt:)}}   {txt}

{txt}_cons       {res}         0.05   {txt}
            {res} {ralign 12:{txt:(}0.51{txt:)}}   {txt}
{txt}{hline 28}
{txt}N           {res}          365   {txt}
{txt}R-sq        {res}        0.219   {txt}
{txt}{hline 28}
{txt}Standard errors in parentheses
{txt}Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *****
. *Show of Force/ Strategic Objective
. 
. *a) Under Fire from AS*Witnessed IED attack
. gen fire_face=0
{txt}
{com}. replace fire_face=1 if fire>0
{txt}(288 real changes made)

{com}. gen ied_fire_dummy=fire_face*ied_face
{txt}
{com}. 
. eststo clear
{txt}
{com}. reg index_humanrights ied_fire_dummy fire ied_face ${c -(}controls{c )-},cluster(fob1) 

{txt}Linear regression                               Number of obs     = {res}       349
                                                {txt}{help j_robustsingular:F(18, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2150
                                                {txt}Root MSE          =    {res} .83733

{txt}{ralign 80:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}index_humanr~s{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ied_fire_dummy {c |}{col 16}{res}{space 2} .0225891{col 28}{space 2} .2048857{col 39}{space 1}    0.11{col 48}{space 3}0.913{col 56}{space 4}-.3971002{col 69}{space 3} .4422783
{txt}{space 10}fire {c |}{col 16}{res}{space 2}-.0068446{col 28}{space 2}  .054532{col 39}{space 1}   -0.13{col 48}{space 3}0.901{col 56}{space 4}-.1185483{col 69}{space 3} .1048591
{txt}{space 6}ied_face {c |}{col 16}{res}{space 2}-.2125772{col 28}{space 2} .1476195{col 39}{space 1}   -1.44{col 48}{space 3}0.161{col 56}{space 4} -.514962{col 69}{space 3} .0898077
{txt}{space 6}duration {c |}{col 16}{res}{space 2}-.0375066{col 28}{space 2} .0912523{col 39}{space 1}   -0.41{col 48}{space 3}0.684{col 56}{space 4}-.2244285{col 69}{space 3} .1494154
{txt}{space 11}age {c |}{col 16}{res}{space 2} -.003112{col 28}{space 2} .0072423{col 39}{space 1}   -0.43{col 48}{space 3}0.671{col 56}{space 4}-.0179473{col 69}{space 3} .0117232
{txt}{space 10}male {c |}{col 16}{res}{space 2}-.0792148{col 28}{space 2} .3427168{col 39}{space 1}   -0.23{col 48}{space 3}0.819{col 56}{space 4}-.7812383{col 69}{space 3} .6228088
{txt}{space 5}education {c |}{col 16}{res}{space 2} .1127612{col 28}{space 2} .0765309{col 39}{space 1}    1.47{col 48}{space 3}0.152{col 56}{space 4}-.0440052{col 69}{space 3} .2695276
{txt}{space 10}rank {c |}{col 16}{res}{space 2}-.0590899{col 28}{space 2} .0663086{col 39}{space 1}   -0.89{col 48}{space 3}0.380{col 56}{space 4} -.194917{col 69}{space 3} .0767371
{txt}{space 7}married {c |}{col 16}{res}{space 2}-.0946052{col 28}{space 2} .0881697{col 39}{space 1}   -1.07{col 48}{space 3}0.292{col 56}{space 4}-.2752126{col 69}{space 3} .0860023
{txt}{space 5}prevAU_UN {c |}{col 16}{res}{space 2} -.263066{col 28}{space 2} .1142181{col 39}{space 1}   -2.30{col 48}{space 3}0.029{col 56}{space 4}-.4970311{col 69}{space 3}-.0291008
{txt}{space 7}mil_ops {c |}{col 16}{res}{space 2} .0993704{col 28}{space 2} .1326844{col 39}{space 1}    0.75{col 48}{space 3}0.460{col 56}{space 4}-.1724213{col 69}{space 3} .3711622
{txt}{space 7}pre_dep {c |}{col 16}{res}{space 2}-.3156478{col 28}{space 2} .2044608{col 39}{space 1}   -1.54{col 48}{space 3}0.134{col 56}{space 4}-.7344667{col 69}{space 3} .1031711
{txt}{space 14} {c |}
{space 10}dist {c |}
{space 4}Qoryooley  {c |}{col 16}{res}{space 2} .6635395{col 28}{space 2} .1504838{col 39}{space 1}    4.41{col 48}{space 3}0.000{col 56}{space 4} .3552874{col 69}{space 3} .9717917
{txt}{space 6}afgooye  {c |}{col 16}{res}{space 2} .5968831{col 28}{space 2}  .303293{col 39}{space 1}    1.97{col 48}{space 3}0.059{col 56}{space 4}-.0243846{col 69}{space 3} 1.218151
{txt}{space 6}afmadow  {c |}{col 16}{res}{space 2} .1328796{col 28}{space 2} .2188601{col 39}{space 1}    0.61{col 48}{space 3}0.549{col 56}{space 4} -.315435{col 69}{space 3} .5811941
{txt}{space 4}badhaadhe  {c |}{col 16}{res}{space 2} .1428535{col 28}{space 2}  .160147{col 39}{space 1}    0.89{col 48}{space 3}0.380{col 56}{space 4}-.1851928{col 69}{space 3} .4708998
{txt}{space 7}baidoa  {c |}{col 16}{res}{space 2} .9677837{col 28}{space 2} .1582583{col 39}{space 1}    6.12{col 48}{space 3}0.000{col 56}{space 4} .6436063{col 69}{space 3} 1.291961
{txt}{space 6}banadir  {c |}{col 16}{res}{space 2} .3972625{col 28}{space 2} .3969069{col 39}{space 1}    1.00{col 48}{space 3}0.325{col 56}{space 4}-.4157645{col 69}{space 3} 1.210289
{txt}{space 6}baraawe  {c |}{col 16}{res}{space 2}-.0216833{col 28}{space 2} .3102868{col 39}{space 1}   -0.07{col 48}{space 3}0.945{col 56}{space 4} -.657277{col 69}{space 3} .6139103
{txt}{space 3}bulo burto  {c |}{col 16}{res}{space 2} 1.007569{col 28}{space 2}  .196624{col 39}{space 1}    5.12{col 48}{space 3}0.000{col 56}{space 4} .6048029{col 69}{space 3} 1.410335
{txt}{space 7}hiraan  {c |}{col 16}{res}{space 2} .6670781{col 28}{space 2} .1796652{col 39}{space 1}    3.71{col 48}{space 3}0.001{col 56}{space 4} .2990506{col 69}{space 3} 1.035106
{txt}{space 8}johar  {c |}{col 16}{res}{space 2} .7101438{col 28}{space 2} .1939018{col 39}{space 1}    3.66{col 48}{space 3}0.001{col 56}{space 4}  .312954{col 69}{space 3} 1.107334
{txt}{space 6}kismayo  {c |}{col 16}{res}{space 2} .3057752{col 28}{space 2} .2265217{col 39}{space 1}    1.35{col 48}{space 3}0.188{col 56}{space 4}-.1582335{col 69}{space 3} .7697839
{txt}{space 14} {c |}
{space 9}_cons {c |}{col 16}{res}{space 2} .0152675{col 28}{space 2} .5269478{col 39}{space 1}    0.03{col 48}{space 3}0.977{col 56}{space 4}-1.064136{col 69}{space 3} 1.094671
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. esttab,keep(ied_fire_dummy fire ied_face _cons) b(2) se(2) cons replace star(* 0.1 ** 0.05 *** 0.01 ) r2  ti("Reported killings interacted with reported IED attack") addnotes("Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)")
{res}
{txt}Reported killings interacted with reported IED attack
{txt}{hline 28}
{txt}                      (1)   
{txt}             index_huma~s   
{txt}{hline 28}
{txt}ied_fire_d~y{res}         0.02   {txt}
            {res} {ralign 12:{txt:(}0.20{txt:)}}   {txt}

{txt}fire        {res}        -0.01   {txt}
            {res} {ralign 12:{txt:(}0.05{txt:)}}   {txt}

{txt}ied_face    {res}        -0.21   {txt}
            {res} {ralign 12:{txt:(}0.15{txt:)}}   {txt}

{txt}_cons       {res}         0.02   {txt}
            {res} {ralign 12:{txt:(}0.53{txt:)}}   {txt}
{txt}{hline 28}
{txt}N           {res}          349   {txt}
{txt}R-sq        {res}        0.215   {txt}
{txt}{hline 28}
{txt}Standard errors in parentheses
{txt}Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *b) Offensive Ops against AS*Witnessed IED attack
. gen AS_fight_dummy=0
{txt}
{com}. replace AS_fight_dummy=1 if AS_fight>0
{txt}(181 real changes made)

{com}. 
. gen AS_fight_ied=AS_fight*ied_face
{txt}(49 missing values generated)

{com}. 
. eststo clear
{txt}
{com}. reg index_humanrights AS_fight_ied AS_fight ied_face ${c -(}controls{c )-},cluster(fob1) 

{txt}Linear regression                               Number of obs     = {res}       350
                                                {txt}{help j_robustsingular:F(18, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2135
                                                {txt}Root MSE          =    {res} .83121

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
AS_fight_ied {c |}{col 14}{res}{space 2} .0115235{col 26}{space 2} .1669172{col 37}{space 1}    0.07{col 46}{space 3}0.945{col 54}{space 4}-.3303908{col 67}{space 3} .3534378
{txt}{space 4}AS_fight {c |}{col 14}{res}{space 2}-.0636778{col 26}{space 2}  .132811{col 37}{space 1}   -0.48{col 46}{space 3}0.635{col 54}{space 4}-.3357288{col 67}{space 3} .2083732
{txt}{space 4}ied_face {c |}{col 14}{res}{space 2} -.133139{col 26}{space 2} .1145334{col 37}{space 1}   -1.16{col 46}{space 3}0.255{col 54}{space 4}-.3677499{col 67}{space 3}  .101472
{txt}{space 4}duration {c |}{col 14}{res}{space 2} -.030714{col 26}{space 2} .0795308{col 37}{space 1}   -0.39{col 46}{space 3}0.702{col 54}{space 4}-.1936254{col 67}{space 3} .1321973
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0048549{col 26}{space 2} .0071768{col 37}{space 1}   -0.68{col 46}{space 3}0.504{col 54}{space 4}-.0195558{col 67}{space 3}  .009846
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0882904{col 26}{space 2} .3194183{col 37}{space 1}   -0.28{col 46}{space 3}0.784{col 54}{space 4}-.7425892{col 67}{space 3} .5660084
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0891076{col 26}{space 2} .0683749{col 37}{space 1}    1.30{col 46}{space 3}0.203{col 54}{space 4}-.0509521{col 67}{space 3} .2291673
{txt}{space 8}rank {c |}{col 14}{res}{space 2} -.043269{col 26}{space 2}  .062387{col 37}{space 1}   -0.69{col 46}{space 3}0.494{col 54}{space 4}-.1710628{col 67}{space 3} .0845249
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0653898{col 26}{space 2} .0794682{col 37}{space 1}   -0.82{col 46}{space 3}0.418{col 54}{space 4}-.2281731{col 67}{space 3} .0973934
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} -.246747{col 26}{space 2} .1137164{col 37}{space 1}   -2.17{col 46}{space 3}0.039{col 54}{space 4}-.4796846{col 67}{space 3}-.0138095
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0893417{col 26}{space 2} .1144685{col 37}{space 1}    0.78{col 46}{space 3}0.442{col 54}{space 4}-.1451363{col 67}{space 3} .3238198
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.3232062{col 26}{space 2} .2013248{col 37}{space 1}   -1.61{col 46}{space 3}0.120{col 54}{space 4}-.7356014{col 67}{space 3}  .089189
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .6899628{col 26}{space 2}   .13792{col 37}{space 1}    5.00{col 46}{space 3}0.000{col 54}{space 4} .4074464{col 67}{space 3} .9724792
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .7184908{col 26}{space 2} .3154202{col 37}{space 1}    2.28{col 46}{space 3}0.031{col 54}{space 4} .0723818{col 67}{space 3}   1.3646
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .1292058{col 26}{space 2} .1822522{col 37}{space 1}    0.71{col 46}{space 3}0.484{col 54}{space 4}-.2441209{col 67}{space 3} .5025326
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .0869724{col 26}{space 2} .1498168{col 37}{space 1}    0.58{col 46}{space 3}0.566{col 54}{space 4}-.2199134{col 67}{space 3} .3938581
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .9752239{col 26}{space 2}  .154374{col 37}{space 1}    6.32{col 46}{space 3}0.000{col 54}{space 4} .6590032{col 67}{space 3} 1.291445
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .4233255{col 26}{space 2}  .394741{col 37}{space 1}    1.07{col 46}{space 3}0.293{col 54}{space 4}-.3852647{col 67}{space 3} 1.231916
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.0360347{col 26}{space 2} .3064038{col 37}{space 1}   -0.12{col 46}{space 3}0.907{col 54}{space 4}-.6636745{col 67}{space 3} .5916051
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.068943{col 26}{space 2} .1907365{col 37}{space 1}    5.60{col 46}{space 3}0.000{col 54}{space 4} .6782365{col 67}{space 3} 1.459649
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .6567404{col 26}{space 2} .1768414{col 37}{space 1}    3.71{col 46}{space 3}0.001{col 54}{space 4} .2944973{col 67}{space 3} 1.018984
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .7416899{col 26}{space 2} .1761901{col 37}{space 1}    4.21{col 46}{space 3}0.000{col 54}{space 4} .3807808{col 67}{space 3} 1.102599
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2}  .318935{col 26}{space 2} .2208818{col 37}{space 1}    1.44{col 46}{space 3}0.160{col 54}{space 4}-.1335208{col 67}{space 3} .7713908
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .0639738{col 26}{space 2} .4987293{col 37}{space 1}    0.13{col 46}{space 3}0.899{col 54}{space 4}-.9576269{col 67}{space 3} 1.085574
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. esttab,keep(AS_fight_ied AS_fight ied_face _cons) b(2) se(2) cons replace star(* 0.1 ** 0.05 *** 0.01 ) r2  ti("Reported killings interacted with reported IED attack") addnotes("Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)")
{res}
{txt}Reported killings interacted with reported IED attack
{txt}{hline 28}
{txt}                      (1)   
{txt}             index_huma~s   
{txt}{hline 28}
{txt}AS_fight_ied{res}         0.01   {txt}
            {res} {ralign 12:{txt:(}0.17{txt:)}}   {txt}

{txt}AS_fight    {res}        -0.06   {txt}
            {res} {ralign 12:{txt:(}0.13{txt:)}}   {txt}

{txt}ied_face    {res}        -0.13   {txt}
            {res} {ralign 12:{txt:(}0.11{txt:)}}   {txt}

{txt}_cons       {res}         0.06   {txt}
            {res} {ralign 12:{txt:(}0.50{txt:)}}   {txt}
{txt}{hline 28}
{txt}N           {res}          350   {txt}
{txt}R-sq        {res}        0.214   {txt}
{txt}{hline 28}
{txt}Standard errors in parentheses
{txt}Robust standard errors clustered by forward operating base (FOB). (p-values are for two-sided tests.)
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. sgmediation2 index_humanrights, mv(casualty) iv(ied_face) 

{txt}Model with dv regressed on iv (path c)
{com} regress index_humanrights ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       378
{txt}{hline 13}{c +}{hline 34}   F(1, 376)       = {res}     9.92
{txt}       Model {c |} {res} 8.05033496         1  8.05033496   {txt}Prob > F        ={res}    0.0018
{txt}    Residual {c |} {res} 305.159856       376  .811595361   {txt}R-squared       ={res}    0.0257
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0231
{txt}       Total {c |} {res} 313.210191       377  .830796262   {txt}Root MSE        =   {res} .90089

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2951278{col 26}{space 2} .0937072{col 37}{space 1}   -3.15{col 46}{space 3}0.002{col 54}{space 4}-.4793836{col 67}{space 3} -.110872
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.0431409{col 26}{space 2} .0611561{col 37}{space 1}   -0.71{col 46}{space 3}0.481{col 54}{space 4}-.1633918{col 67}{space 3} .0771099
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with mediator regressed on iv (path a)
{com} regress casualty ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       378
{txt}{hline 13}{c +}{hline 34}   F(1, 376)       = {res}   123.71
{txt}       Model {c |} {res} 228.351867         1  228.351867   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 694.052895       376  1.84588536   {txt}R-squared       ={res}    0.2476
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2456
{txt}       Total {c |} {res} 922.404762       377  2.44669698   {txt}Root MSE        =   {res} 1.3586

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    casualty{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2} 1.571829{col 26}{space 2} .1413206{col 37}{space 1}   11.12{col 46}{space 3}0.000{col 54}{space 4} 1.293952{col 67}{space 3} 1.849707
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .1797235{col 26}{space 2} .0922301{col 37}{space 1}    1.95{col 46}{space 3}0.052{col 54}{space 4}-.0016278{col 67}{space 3} .3610748
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with dv regressed on mediator and iv (paths b and c')
{com} regress index_humanrights casualty ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       378
{txt}{hline 13}{c +}{hline 34}   F(2, 375)       = {res}     6.81
{txt}       Model {c |} {res} 10.9797286         2  5.48986432   {txt}Prob > F        ={res}    0.0012
{txt}    Residual {c |} {res} 302.230462       375  .805947899   {txt}R-squared       ={res}    0.0351
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0299
{txt}       Total {c |} {res} 313.210191       377  .830796262   {txt}Root MSE        =   {res} .89775

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}casualty {c |}{col 14}{res}{space 2} -.064967{col 26}{space 2} .0340767{col 37}{space 1}   -1.91{col 46}{space 3}0.057{col 54}{space 4}-.1319723{col 67}{space 3} .0020383
{txt}{space 4}ied_face {c |}{col 14}{res}{space 2}-.1930108{col 26}{space 2} .1076517{col 37}{space 1}   -1.79{col 46}{space 3}0.074{col 54}{space 4}-.4046875{col 67}{space 3} .0186659
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.0314648{col 26}{space 2} .0612499{col 37}{space 1}   -0.51{col 46}{space 3}0.608{col 54}{space 4}-.1519012{col 67}{space 3} .0889715
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}{p 0 0 2}Sobel-Goodman Mediation Tests{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:Sobel}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.102}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.054}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.879}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.060}}}{space 1}
{space 0}{space 0}{ralign 20:Aroian}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.102}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.055}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.872}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.061}}}{space 1}
{space 0}{space 0}{ralign 20:Goodman}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.102}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.054}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.887}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.059}}}{space 1}
{res}
{txt}{p 0 0 2}Indirect, Direct, and Total Effects{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:a_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     1.572}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.141}}}{space 1}{space 1}{ralign 10:{res:{sf:    11.122}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.000}}}{space 1}
{space 0}{space 0}{ralign 20:b_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.065}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.034}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.906}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.057}}}{space 1}
{space 0}{space 0}{ralign 20:Indirect_effect_aXb}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.102}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.054}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.879}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.060}}}{space 1}
{space 0}{space 0}{ralign 20:Direct_effect_c'}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.193}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.108}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.793}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.073}}}{space 1}
{space 0}{space 0}{ralign 20:Total_effect_c}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.295}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.094}}}{space 1}{space 1}{ralign 10:{res:{sf:    -3.149}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.002}}}{space 1}


Proportion of total effect that is mediated:  {res}     0.346
{txt}Ratio of indirect to direct effect:           {res}     0.529
{txt}Ratio of total to direct effect:              {res}     1.529
{txt}
{com}. 
. **Table 3: Mediation Check- (2) Attitude Survey-real time AMISOM casualties)
. 
. sgmediation2 index_humanrights, mv(amsm_cas) iv(ied_face) 

{txt}Model with dv regressed on iv (path c)
{com} regress index_humanrights ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       377
{txt}{hline 13}{c +}{hline 34}   F(1, 375)       = {res}     9.79
{txt}       Model {c |} {res} 7.96762484         1  7.96762484   {txt}Prob > F        ={res}    0.0019
{txt}    Residual {c |} {res} 305.134417       375  .813691778   {txt}R-squared       ={res}    0.0254
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0228
{txt}       Total {c |} {res} 313.102042       376  .832718196   {txt}Root MSE        =   {res} .90205

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2} -.294134{col 26}{space 2} .0939963{col 37}{space 1}   -3.13{col 46}{space 3}0.002{col 54}{space 4}-.4789599{col 67}{space 3}-.1093081
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.0431409{col 26}{space 2} .0612351{col 37}{space 1}   -0.70{col 46}{space 3}0.482{col 54}{space 4} -.163548{col 67}{space 3} .0772662
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with mediator regressed on iv (path a)
{com} regress amsm_cas ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       377
{txt}{hline 13}{c +}{hline 34}   F(1, 375)       = {res}    42.08
{txt}       Model {c |} {res} 1066.55472         1  1066.55472   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 9503.97048       375  25.3439213   {txt}R-squared       ={res}    0.1009
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0985
{txt}       Total {c |} {res} 10570.5252       376  28.1130989   {txt}Root MSE        =   {res} 5.0343

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    amsm_cas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2} 3.403082{col 26}{space 2} .5245872{col 37}{space 1}    6.49{col 46}{space 3}0.000{col 54}{space 4} 2.371581{col 67}{space 3} 4.434583
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .8156682{col 26}{space 2} .3417488{col 37}{space 1}    2.39{col 46}{space 3}0.017{col 54}{space 4}  .143684{col 67}{space 3} 1.487652
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with dv regressed on mediator and iv (paths b and c')
{com} regress index_humanrights amsm_cas ied_face , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       377
{txt}{hline 13}{c +}{hline 34}   F(2, 374)       = {res}    10.57
{txt}       Model {c |} {res} 16.7514575         2  8.37572876   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 296.350584       374  .792381241   {txt}R-squared       ={res}    0.0535
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0484
{txt}       Total {c |} {res} 313.102042       376  .832718196   {txt}Root MSE        =   {res} .89016

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}amsm_cas {c |}{col 14}{res}{space 2}-.0304011{col 26}{space 2} .0091309{col 37}{space 1}   -3.33{col 46}{space 3}0.001{col 54}{space 4}-.0483555{col 67}{space 3}-.0124467
{txt}{space 4}ied_face {c |}{col 14}{res}{space 2}-.1906765{col 26}{space 2} .0978236{col 37}{space 1}   -1.95{col 46}{space 3}0.052{col 54}{space 4}-.3830298{col 67}{space 3} .0016767
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.0183437{col 26}{space 2} .0608851{col 37}{space 1}   -0.30{col 46}{space 3}0.763{col 54}{space 4}-.1380637{col 67}{space 3} .1013763
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}{p 0 0 2}Sobel-Goodman Mediation Tests{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:Sobel}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.103}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.035}}}{space 1}{space 1}{ralign 10:{res:{sf:    -2.962}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.003}}}{space 1}
{space 0}{space 0}{ralign 20:Aroian}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.103}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.035}}}{space 1}{space 1}{ralign 10:{res:{sf:    -2.935}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.003}}}{space 1}
{space 0}{space 0}{ralign 20:Goodman}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.103}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.035}}}{space 1}{space 1}{ralign 10:{res:{sf:    -2.990}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.003}}}{space 1}
{res}
{txt}{p 0 0 2}Indirect, Direct, and Total Effects{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:a_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     3.403}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.525}}}{space 1}{space 1}{ralign 10:{res:{sf:     6.487}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.000}}}{space 1}
{space 0}{space 0}{ralign 20:b_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.030}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.009}}}{space 1}{space 1}{ralign 10:{res:{sf:    -3.329}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.001}}}{space 1}
{space 0}{space 0}{ralign 20:Indirect_effect_aXb}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.103}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.035}}}{space 1}{space 1}{ralign 10:{res:{sf:    -2.962}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.003}}}{space 1}
{space 0}{space 0}{ralign 20:Direct_effect_c'}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.191}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.098}}}{space 1}{space 1}{ralign 10:{res:{sf:    -1.949}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.051}}}{space 1}
{space 0}{space 0}{ralign 20:Total_effect_c}{space 1}{c |}{space 1}{ralign 10:{res:{sf:    -0.294}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.094}}}{space 1}{space 1}{ralign 10:{res:{sf:    -3.129}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.002}}}{space 1}


Proportion of total effect that is mediated:  {res}     0.352
{txt}Ratio of indirect to direct effect:           {res}     0.543
{txt}Ratio of total to direct effect:              {res}     1.543
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\BehaviorData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. sgmediation2 civcas, mv(am_kill) iv(iedattack)

{txt}Model with dv regressed on iv (path c)
{com} regress civcas iedattack , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(1, 488)       = {res}     4.54
{txt}       Model {c |} {res} 42.6519121         1  42.6519121   {txt}Prob > F        ={res}    0.0336
{txt}    Residual {c |} {res} 4586.00319       488  9.39754752   {txt}R-squared       ={res}    0.0092
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0072
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0655

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .5954934{col 26}{space 2} .2795213{col 37}{space 1}    2.13{col 46}{space 3}0.034{col 54}{space 4} .0462795{col 67}{space 3} 1.144707
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7158273{col 26}{space 2}  .183859{col 37}{space 1}    3.89{col 46}{space 3}0.000{col 54}{space 4} .3545744{col 67}{space 3}  1.07708
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with mediator regressed on iv (path a)
{com} regress am_kill iedattack , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(1, 488)       = {res}    33.95
{txt}       Model {c |} {res} 2.27978173         1  2.27978173   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 32.7732795       488   .06715836   {txt}R-squared       ={res}    0.0650
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0631
{txt}       Total {c |} {res} 35.0530612       489  .071683152   {txt}Root MSE        =   {res} .25915

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     am_kill{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}iedattack {c |}{col 14}{res}{space 2} .1376748{col 26}{space 2} .0236297{col 37}{space 1}    5.83{col 46}{space 3}0.000{col 54}{space 4} .0912463{col 67}{space 3} .1841032
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0179856{col 26}{space 2} .0155427{col 37}{space 1}    1.16{col 46}{space 3}0.248{col 54}{space 4}-.0125533{col 67}{space 3} .0485246
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Model with dv regressed on mediator and iv (paths b and c')
{com} regress civcas am_kill iedattack , vce() 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(2, 487)       = {res}     3.97
{txt}       Model {c |} {res} 74.1851467         2  37.0925733   {txt}Prob > F        ={res}    0.0196
{txt}    Residual {c |} {res} 4554.46996       487  9.35209436   {txt}R-squared       ={res}    0.0160
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0120
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0581

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      civcas{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}am_kill {c |}{col 14}{res}{space 2}  .980899{col 26}{space 2} .5341884{col 37}{space 1}    1.84{col 46}{space 3}0.067{col 54}{space 4}-.0686996{col 67}{space 3} 2.030498
{txt}{space 3}iedattack {c |}{col 14}{res}{space 2} .4604484{col 26}{space 2}   .28838{col 37}{space 1}    1.60{col 46}{space 3}0.111{col 54}{space 4}-.1061743{col 67}{space 3} 1.027071
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6981853{col 26}{space 2} .1836653{col 37}{space 1}    3.80{col 46}{space 3}0.000{col 54}{space 4} .3373111{col 67}{space 3} 1.059059
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}{p 0 0 2}Sobel-Goodman Mediation Tests{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:Sobel}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.135}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.077}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.751}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.080}}}{space 1}
{space 0}{space 0}{ralign 20:Aroian}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.135}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.078}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.728}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.084}}}{space 1}
{space 0}{space 0}{ralign 20:Goodman}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.135}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.076}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.775}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.076}}}{space 1}
{res}
{txt}{p 0 0 2}Indirect, Direct, and Total Effects{p_end}

{space 0}{space 0}{ralign 20:}{space 1}{c |}{space 1}{ralign 10:Est}{space 1}{space 1}{ralign 10:Std_err}{space 1}{space 1}{ralign 10:z}{space 1}{space 1}{ralign 10:P>|z|}{space 1}
{space 0}{hline 21}{c   +}{hline 12}{hline 12}{hline 12}{hline 11}
{space 0}{space 0}{ralign 20:a_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.138}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.024}}}{space 1}{space 1}{ralign 10:{res:{sf:     5.826}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.000}}}{space 1}
{space 0}{space 0}{ralign 20:b_coefficient}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.981}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.534}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.836}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.066}}}{space 1}
{space 0}{space 0}{ralign 20:Indirect_effect_aXb}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.135}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.077}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.751}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.080}}}{space 1}
{space 0}{space 0}{ralign 20:Direct_effect_c'}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.460}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.288}}}{space 1}{space 1}{ralign 10:{res:{sf:     1.597}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.110}}}{space 1}
{space 0}{space 0}{ralign 20:Total_effect_c}{space 1}{c |}{space 1}{ralign 10:{res:{sf:     0.595}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.280}}}{space 1}{space 1}{ralign 10:{res:{sf:     2.130}}}{space 1}{space 1}{ralign 10:{res:{sf:     0.033}}}{space 1}


Proportion of total effect that is mediated:  {res}     0.227
{txt}Ratio of indirect to direct effect:           {res}     0.293
{txt}Ratio of total to direct effect:              {res}     1.293
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\UN_AMISOM_data.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. * Figure 6 (Right): Impact of Violence Exposure Perceived Civilian Abuse Ethiopians in AMISOM Somalia vs Ethiopians in South Sudan
. eststo clear
{txt}
{com}. eststo:reg troops_rec_perform_review  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       242
{txt}{hline 13}{c +}{hline 34}   F(10, 231)      = {res}     2.73
{txt}       Model {c |} {res} 40.7399043        10  4.07399043   {txt}Prob > F        ={res}    0.0035
{txt}    Residual {c |} {res} 345.260096       231  1.49463245   {txt}R-squared       ={res}    0.1055
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0668
{txt}       Total {c |} {res}        386       241  1.60165975   {txt}Root MSE        =   {res} 1.2226

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}troops_rec_perform~w{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2} .3759995{col 34}{space 2} .2062902{col 45}{space 1}    1.82{col 54}{space 3}0.070{col 62}{space 4}-.0304513{col 75}{space 3} .7824503
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .0463622{col 34}{space 2} .1470598{col 45}{space 1}    0.32{col 54}{space 3}0.753{col 62}{space 4}-.2433879{col 75}{space 3} .3361122
{txt}{space 17}age {c |}{col 22}{res}{space 2}-.0063147{col 34}{space 2} .0128933{col 45}{space 1}   -0.49{col 54}{space 3}0.625{col 62}{space 4}-.0317183{col 75}{space 3} .0190888
{txt}{space 16}male {c |}{col 22}{res}{space 2}-.3335576{col 34}{space 2} .4833652{col 45}{space 1}   -0.69{col 54}{space 3}0.491{col 62}{space 4}-1.285926{col 75}{space 3} .6188104
{txt}{space 11}education {c |}{col 22}{res}{space 2} .1093709{col 34}{space 2} .1101618{col 45}{space 1}    0.99{col 54}{space 3}0.322{col 62}{space 4}-.1076795{col 75}{space 3} .3264212
{txt}{space 16}rank {c |}{col 22}{res}{space 2} -.269853{col 34}{space 2} .0958857{col 45}{space 1}   -2.81{col 54}{space 3}0.005{col 62}{space 4}-.4587753{col 75}{space 3}-.0809307
{txt}{space 13}married {c |}{col 22}{res}{space 2}-.2371595{col 34}{space 2} .1716283{col 45}{space 1}   -1.38{col 54}{space 3}0.168{col 62}{space 4}-.5753165{col 75}{space 3} .1009974
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2} .6329778{col 34}{space 2} .1994478{col 45}{space 1}    3.17{col 54}{space 3}0.002{col 62}{space 4} .2400084{col 75}{space 3} 1.025947
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2}-.3804358{col 34}{space 2} .2321714{col 45}{space 1}   -1.64{col 54}{space 3}0.103{col 62}{space 4}  -.83788{col 75}{space 3} .0770084
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2} .1140178{col 34}{space 2} .1121266{col 45}{space 1}    1.02{col 54}{space 3}0.310{col 62}{space 4}-.1069037{col 75}{space 3} .3349393
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 2.739462{col 34}{space 2}  .721149{col 45}{space 1}    3.80{col 54}{space 3}0.000{col 62}{space 4} 1.318592{col 75}{space 3} 4.160332
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store review
{txt}
{com}. eststo:reg coop_with_others  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       246
{txt}{hline 13}{c +}{hline 34}   F(10, 235)      = {res}     1.70
{txt}       Model {c |} {res} 22.6545711        10  2.26545711   {txt}Prob > F        ={res}    0.0821
{txt}    Residual {c |} {res} 313.674697       235  1.33478595   {txt}R-squared       ={res}    0.0674
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0277
{txt}       Total {c |} {res} 336.329268       245  1.37277252   {txt}Root MSE        =   {res} 1.1553

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    coop_with_others{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2} .1398678{col 34}{space 2} .1945134{col 45}{space 1}    0.72{col 54}{space 3}0.473{col 62}{space 4} -.243345{col 75}{space 3} .5230806
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .0815335{col 34}{space 2} .1400771{col 45}{space 1}    0.58{col 54}{space 3}0.561{col 62}{space 4}-.1944337{col 75}{space 3} .3575007
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0119575{col 34}{space 2} .0120234{col 45}{space 1}    0.99{col 54}{space 3}0.321{col 62}{space 4}-.0117298{col 75}{space 3} .0356449
{txt}{space 16}male {c |}{col 22}{res}{space 2}-.3841835{col 34}{space 2} .4568994{col 45}{space 1}   -0.84{col 54}{space 3}0.401{col 62}{space 4}-1.284326{col 75}{space 3} .5159586
{txt}{space 11}education {c |}{col 22}{res}{space 2} .2861728{col 34}{space 2} .1043313{col 45}{space 1}    2.74{col 54}{space 3}0.007{col 62}{space 4} .0806286{col 75}{space 3}  .491717
{txt}{space 16}rank {c |}{col 22}{res}{space 2}-.2603967{col 34}{space 2} .0897147{col 45}{space 1}   -2.90{col 54}{space 3}0.004{col 62}{space 4}-.4371446{col 75}{space 3}-.0836488
{txt}{space 13}married {c |}{col 22}{res}{space 2}-.0384886{col 34}{space 2} .1593464{col 45}{space 1}   -0.24{col 54}{space 3}0.809{col 62}{space 4}-.3524186{col 75}{space 3} .2754413
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2}-.1709931{col 34}{space 2} .1863347{col 45}{space 1}   -0.92{col 54}{space 3}0.360{col 62}{space 4}-.5380931{col 75}{space 3} .1961069
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2} .0770935{col 34}{space 2} .2153752{col 45}{space 1}    0.36{col 54}{space 3}0.721{col 62}{space 4}-.3472193{col 75}{space 3} .5014063
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2} .0071925{col 34}{space 2} .1048927{col 45}{space 1}    0.07{col 54}{space 3}0.945{col 62}{space 4}-.1994576{col 75}{space 3} .2138426
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 2.114472{col 34}{space 2} .6834893{col 45}{space 1}    3.09{col 54}{space 3}0.002{col 62}{space 4} .7679233{col 75}{space 3} 3.461021
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store coop
{txt}
{com}. eststo:reg complain  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       193
{txt}{hline 13}{c +}{hline 34}   F(10, 182)      = {res}     1.47
{txt}       Model {c |} {res} 8.30761941        10  .830761941   {txt}Prob > F        ={res}    0.1546
{txt}    Residual {c |} {res} 103.018805       182  .566037393   {txt}R-squared       ={res}    0.0746
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0238
{txt}       Total {c |} {res} 111.326425       192   .57982513   {txt}Root MSE        =   {res} .75235

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}            complain{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2}-.0129786{col 34}{space 2} .1479677{col 45}{space 1}   -0.09{col 54}{space 3}0.930{col 62}{space 4}-.3049313{col 75}{space 3} .2789741
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .0798976{col 34}{space 2}  .104937{col 45}{space 1}    0.76{col 54}{space 3}0.447{col 62}{space 4}-.1271519{col 75}{space 3} .2869472
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0186963{col 34}{space 2} .0086677{col 45}{space 1}    2.16{col 54}{space 3}0.032{col 62}{space 4} .0015942{col 75}{space 3} .0357983
{txt}{space 16}male {c |}{col 22}{res}{space 2} .1445675{col 34}{space 2} .3253866{col 45}{space 1}    0.44{col 54}{space 3}0.657{col 62}{space 4}-.4974476{col 75}{space 3} .7865826
{txt}{space 11}education {c |}{col 22}{res}{space 2} .0111154{col 34}{space 2} .0746077{col 45}{space 1}    0.15{col 54}{space 3}0.882{col 62}{space 4}-.1360919{col 75}{space 3} .1583228
{txt}{space 16}rank {c |}{col 22}{res}{space 2} -.128654{col 34}{space 2}  .064669{col 45}{space 1}   -1.99{col 54}{space 3}0.048{col 62}{space 4}-.2562513{col 75}{space 3}-.0010567
{txt}{space 13}married {c |}{col 22}{res}{space 2} -.056799{col 34}{space 2} .1197612{col 45}{space 1}   -0.47{col 54}{space 3}0.636{col 62}{space 4}-.2930979{col 75}{space 3}    .1795
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2}-.1405147{col 34}{space 2} .1572697{col 45}{space 1}   -0.89{col 54}{space 3}0.373{col 62}{space 4} -.450821{col 75}{space 3} .1697916
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2} .1864175{col 34}{space 2} .1711734{col 45}{space 1}    1.09{col 54}{space 3}0.278{col 62}{space 4}-.1513219{col 75}{space 3} .5241569
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2}  .142443{col 34}{space 2} .0771241{col 45}{space 1}    1.85{col 54}{space 3}0.066{col 62}{space 4}-.0097294{col 75}{space 3} .2946154
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 2.817417{col 34}{space 2} .4995846{col 45}{space 1}    5.64{col 54}{space 3}0.000{col 62}{space 4} 1.831695{col 75}{space 3}  3.80314
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store compln
{txt}
{com}. eststo:reg relations  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       220
{txt}{hline 13}{c +}{hline 34}   F(10, 209)      = {res}     2.15
{txt}       Model {c |} {res} 23.8076404        10  2.38076404   {txt}Prob > F        ={res}    0.0218
{txt}    Residual {c |} {res} 230.937814       209  1.10496562   {txt}R-squared       ={res}    0.0935
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0501
{txt}       Total {c |} {res} 254.745455       219  1.16322125   {txt}Root MSE        =   {res} 1.0512

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           relations{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2}-.4224797{col 34}{space 2} .1902745{col 45}{space 1}   -2.22{col 54}{space 3}0.027{col 62}{space 4} -.797583{col 75}{space 3}-.0473764
{txt}{space 12}duration {c |}{col 22}{res}{space 2}-.1153956{col 34}{space 2}  .128602{col 45}{space 1}   -0.90{col 54}{space 3}0.371{col 62}{space 4}-.3689189{col 75}{space 3} .1381278
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0031651{col 34}{space 2} .0113356{col 45}{space 1}    0.28{col 54}{space 3}0.780{col 62}{space 4}-.0191817{col 75}{space 3}  .025512
{txt}{space 16}male {c |}{col 22}{res}{space 2}-.3035221{col 34}{space 2} .4175212{col 45}{space 1}   -0.73{col 54}{space 3}0.468{col 62}{space 4}-1.126615{col 75}{space 3} .5195705
{txt}{space 11}education {c |}{col 22}{res}{space 2} .0323563{col 34}{space 2} .0970199{col 45}{space 1}    0.33{col 54}{space 3}0.739{col 62}{space 4}-.1589067{col 75}{space 3} .2236192
{txt}{space 16}rank {c |}{col 22}{res}{space 2}  -.12222{col 34}{space 2} .0849599{col 45}{space 1}   -1.44{col 54}{space 3}0.152{col 62}{space 4}-.2897081{col 75}{space 3} .0452681
{txt}{space 13}married {c |}{col 22}{res}{space 2} .1476324{col 34}{space 2} .1542798{col 45}{space 1}    0.96{col 54}{space 3}0.340{col 62}{space 4}-.1565117{col 75}{space 3} .4517765
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2}-.1208642{col 34}{space 2} .1820952{col 45}{space 1}   -0.66{col 54}{space 3}0.508{col 62}{space 4} -.479843{col 75}{space 3} .2381146
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2}  .201907{col 34}{space 2} .2093407{col 45}{space 1}    0.96{col 54}{space 3}0.336{col 62}{space 4}-.2107829{col 75}{space 3} .6145969
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2}-.0109732{col 34}{space 2} .1013217{col 45}{space 1}   -0.11{col 54}{space 3}0.914{col 62}{space 4}-.2107167{col 75}{space 3} .1887703
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 3.960365{col 34}{space 2} .6354711{col 45}{space 1}    6.23{col 54}{space 3}0.000{col 62}{space 4} 2.707611{col 75}{space 3}  5.21312
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store rel
{txt}
{com}. eststo:reg civ_casual  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       203
{txt}{hline 13}{c +}{hline 34}   F(10, 192)      = {res}     0.96
{txt}       Model {c |} {res} 11.8899115        10  1.18899115   {txt}Prob > F        ={res}    0.4762
{txt}    Residual {c |} {res} 236.789891       192  1.23328068   {txt}R-squared       ={res}    0.0478
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0018
{txt}       Total {c |} {res} 248.679803       202  1.23108813   {txt}Root MSE        =   {res} 1.1105

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          civ_casual{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2}-.4242411{col 34}{space 2} .2046697{col 45}{space 1}   -2.07{col 54}{space 3}0.040{col 62}{space 4}-.8279309{col 75}{space 3}-.0205513
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .1562032{col 34}{space 2}  .145787{col 45}{space 1}    1.07{col 54}{space 3}0.285{col 62}{space 4}-.1313465{col 75}{space 3}  .443753
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0086372{col 34}{space 2} .0124927{col 45}{space 1}    0.69{col 54}{space 3}0.490{col 62}{space 4}-.0160034{col 75}{space 3} .0332778
{txt}{space 16}male {c |}{col 22}{res}{space 2}-.3542956{col 34}{space 2}  .442732{col 45}{space 1}   -0.80{col 54}{space 3}0.425{col 62}{space 4}-1.227539{col 75}{space 3} .5189474
{txt}{space 11}education {c |}{col 22}{res}{space 2}  .117651{col 34}{space 2} .1063412{col 45}{space 1}    1.11{col 54}{space 3}0.270{col 62}{space 4} -.092096{col 75}{space 3} .3273981
{txt}{space 16}rank {c |}{col 22}{res}{space 2}-.0623836{col 34}{space 2} .0950892{col 45}{space 1}   -0.66{col 54}{space 3}0.513{col 62}{space 4}-.2499373{col 75}{space 3} .1251701
{txt}{space 13}married {c |}{col 22}{res}{space 2}-.0405305{col 34}{space 2}  .170528{col 45}{space 1}   -0.24{col 54}{space 3}0.812{col 62}{space 4}-.3768794{col 75}{space 3} .2958184
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2} .1063491{col 34}{space 2} .2039498{col 45}{space 1}    0.52{col 54}{space 3}0.603{col 62}{space 4}-.2959207{col 75}{space 3} .5086189
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2}-.0778703{col 34}{space 2} .2209225{col 45}{space 1}   -0.35{col 54}{space 3}0.725{col 62}{space 4}-.5136171{col 75}{space 3} .3578766
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2}-.1004935{col 34}{space 2} .1094647{col 45}{space 1}   -0.92{col 54}{space 3}0.360{col 62}{space 4}-.3164012{col 75}{space 3} .1154143
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 2.793742{col 34}{space 2} .6787448{col 45}{space 1}    4.12{col 54}{space 3}0.000{col 62}{space 4} 1.454988{col 75}{space 3} 4.132496
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store civ_cas
{txt}
{com}. eststo:reg  attack  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       241
{txt}{hline 13}{c +}{hline 34}   F(10, 230)      = {res}    26.63
{txt}       Model {c |} {res} 196.488622        10  19.6488622   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 169.677353       230  .737727622   {txt}R-squared       ={res}    0.5366
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.5165
{txt}       Total {c |} {res} 366.165975       240  1.52569156   {txt}Root MSE        =   {res} .85891

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}              attack{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2} -1.90732{col 34}{space 2} .1449536{col 45}{space 1}  -13.16{col 54}{space 3}0.000{col 62}{space 4}-2.192927{col 75}{space 3}-1.621714
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .1130267{col 34}{space 2}  .102974{col 45}{space 1}    1.10{col 54}{space 3}0.274{col 62}{space 4}-.0898663{col 75}{space 3} .3159198
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0023335{col 34}{space 2} .0090219{col 45}{space 1}    0.26{col 54}{space 3}0.796{col 62}{space 4}-.0154427{col 75}{space 3} .0201097
{txt}{space 16}male {c |}{col 22}{res}{space 2} .3424405{col 34}{space 2} .3396452{col 45}{space 1}    1.01{col 54}{space 3}0.314{col 62}{space 4}-.3267732{col 75}{space 3} 1.011654
{txt}{space 11}education {c |}{col 22}{res}{space 2}-.0457748{col 34}{space 2} .0776792{col 45}{space 1}   -0.59{col 54}{space 3}0.556{col 62}{space 4}-.1988285{col 75}{space 3} .1072789
{txt}{space 16}rank {c |}{col 22}{res}{space 2}-.0584386{col 34}{space 2} .0675194{col 45}{space 1}   -0.87{col 54}{space 3}0.388{col 62}{space 4}-.1914742{col 75}{space 3}  .074597
{txt}{space 13}married {c |}{col 22}{res}{space 2}  .078919{col 34}{space 2} .1209982{col 45}{space 1}    0.65{col 54}{space 3}0.515{col 62}{space 4}-.1594877{col 75}{space 3} .3173256
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2} .1774638{col 34}{space 2} .1415543{col 45}{space 1}    1.25{col 54}{space 3}0.211{col 62}{space 4}-.1014451{col 75}{space 3} .4563726
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2} .1834879{col 34}{space 2} .1551247{col 45}{space 1}    1.18{col 54}{space 3}0.238{col 62}{space 4}-.1221592{col 75}{space 3} .4891351
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2}-.0162682{col 34}{space 2}  .078709{col 45}{space 1}   -0.21{col 54}{space 3}0.836{col 62}{space 4}-.1713511{col 75}{space 3} .1388147
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 3.339763{col 34}{space 2} .5057116{col 45}{space 1}    6.60{col 54}{space 3}0.000{col 62}{space 4} 2.343344{col 75}{space 3} 4.336183
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store atk
{txt}
{com}. eststo:reg index_humanrights  ehthiopiaamisomdummy duration age male education rank married prevAU_UN mil_ops pre_dep

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       143
{txt}{hline 13}{c +}{hline 34}   F(10, 132)      = {res}     6.54
{txt}       Model {c |} {res} 34.7388516        10  3.47388516   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 70.0900143       132  .530984957   {txt}R-squared       ={res}    0.3314
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2807
{txt}       Total {c |} {res} 104.828866       142   .73823145   {txt}Root MSE        =   {res} .72869

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   index_humanrights{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdummy {c |}{col 22}{res}{space 2}-.8227634{col 34}{space 2} .1663448{col 45}{space 1}   -4.95{col 54}{space 3}0.000{col 62}{space 4} -1.15181{col 75}{space 3}-.4937169
{txt}{space 12}duration {c |}{col 22}{res}{space 2} .0988406{col 34}{space 2} .1160374{col 45}{space 1}    0.85{col 54}{space 3}0.396{col 62}{space 4}-.1306929{col 75}{space 3} .3283741
{txt}{space 17}age {c |}{col 22}{res}{space 2} .0113111{col 34}{space 2}  .009617{col 45}{space 1}    1.18{col 54}{space 3}0.242{col 62}{space 4}-.0077122{col 75}{space 3} .0303345
{txt}{space 16}male {c |}{col 22}{res}{space 2}  .109182{col 34}{space 2} .3214757{col 45}{space 1}    0.34{col 54}{space 3}0.735{col 62}{space 4}-.5267287{col 75}{space 3} .7450927
{txt}{space 11}education {c |}{col 22}{res}{space 2} .2228695{col 34}{space 2} .0832641{col 45}{space 1}    2.68{col 54}{space 3}0.008{col 62}{space 4} .0581649{col 75}{space 3} .3875741
{txt}{space 16}rank {c |}{col 22}{res}{space 2}-.1559162{col 34}{space 2} .0712815{col 45}{space 1}   -2.19{col 54}{space 3}0.030{col 62}{space 4} -.296918{col 75}{space 3}-.0149144
{txt}{space 13}married {c |}{col 22}{res}{space 2} .0558469{col 34}{space 2} .1361355{col 45}{space 1}    0.41{col 54}{space 3}0.682{col 62}{space 4}-.2134426{col 75}{space 3} .3251363
{txt}{space 11}prevAU_UN {c |}{col 22}{res}{space 2}-.1032308{col 34}{space 2} .1776041{col 45}{space 1}   -0.58{col 54}{space 3}0.562{col 62}{space 4}-.4545492{col 75}{space 3} .2480877
{txt}{space 13}mil_ops {c |}{col 22}{res}{space 2} .0769274{col 34}{space 2} .1780274{col 45}{space 1}    0.43{col 54}{space 3}0.666{col 62}{space 4}-.2752284{col 75}{space 3} .4290831
{txt}{space 13}pre_dep {c |}{col 22}{res}{space 2} .0385891{col 34}{space 2} .0853254{col 45}{space 1}    0.45{col 54}{space 3}0.652{col 62}{space 4}-.1301929{col 75}{space 3} .2073712
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} .1703301{col 34}{space 2}  .519327{col 45}{space 1}    0.33{col 54}{space 3}0.743{col 62}{space 4}  -.85695{col 75}{space 3}  1.19761
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)

{com}. estimates store index
{txt}
{com}. 
. 
. coefplot   (review, mlabel ("{c -(}it:Protection of civilians is essential{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
> (coop, mlabel("{c -(}it:Cooperation with civil society {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>  (compln, mlabel("{c -(}it:Civilians have right to complain{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>   (rel, mlabel("{c -(}it:Treat locals well{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>       (civ_cas, mlabel("{c -(}it:No civilian casualties{c )-}") mlabposition(clockposlist 11)mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>           (atk, mlabel("{c -(}it:Non military options{c )-}" ) mlabposition(clockposlist 1) mlabcolor(black) mcolor(red) msymbol(triangle) msymbol(square)  ciopts(lcolor(black))) ///
>           (index, mlabel("{c -(}it:Human rights index{c )-}") mlabposition(clockposlist 11)mlabposition(clockposlist 1) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>  , levels(95) keep( ehthiopiaamisomdummy ) graphregion(fcolor(white))title("Impact of Violence Exposure Perceived Civilian Abuse:" "Ethiopians in AMISOM Somalia vs Ethiopians in South Sudan") xline(0, lwidth(thin)) lcolor(red) ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. * Table C13: External Validity: Ethiopians in AMISOM vs Ethiopians in South Sudan
. esttab using TableC13.rtf, replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) keep (ehthiopiaamisomdummy _cons) mtitles("POC essential"  "Co-op with civ soc"  "Right to complain"  "Treating well obstacle" "Civilian casualties"  "Solution is attacking" "HR index")
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{txt}(output written to {browse  `"TableC13.rtf"'})

{com}. ******
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\ExperimentData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}.                         
.                         
. eststo clear
{txt}
{com}. eststo:reg troops_rec_perform_review treatment age male education married rank prevAU_UN
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        83
{txt}{hline 13}{c +}{hline 34}   F(6, 76)        = {res}     5.62
{txt}       Model {c |} {res}  47.860035         6   7.9766725   {txt}Prob > F        ={res}    0.0001
{txt}    Residual {c |} {res} 107.802616        76  1.41845547   {txt}R-squared       ={res}    0.3075
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2528
{txt}       Total {c |} {res} 155.662651        82  1.89832501   {txt}Root MSE        =   {res}  1.191

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}troops_rec~w{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.8249251{col 26}{space 2} .2797356{col 37}{space 1}   -2.95{col 46}{space 3}0.004{col 54}{space 4}-1.382067{col 67}{space 3}-.2677835
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0152871{col 26}{space 2}  .031639{col 37}{space 1}    0.48{col 46}{space 3}0.630{col 54}{space 4}-.0477273{col 67}{space 3} .0783016
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2} .5939885{col 26}{space 2} .5695825{col 37}{space 1}    1.04{col 46}{space 3}0.300{col 54}{space 4}-.5404333{col 67}{space 3}  1.72841
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.1921145{col 26}{space 2}  .330021{col 37}{space 1}   -0.58{col 46}{space 3}0.562{col 54}{space 4}-.8494083{col 67}{space 3} .4651793
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.6169316{col 26}{space 2} .1647168{col 37}{space 1}   -3.75{col 46}{space 3}0.000{col 54}{space 4}-.9449935{col 67}{space 3}-.2888698
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} -.126535{col 26}{space 2} .3394072{col 37}{space 1}   -0.37{col 46}{space 3}0.710{col 54}{space 4}-.8025229{col 67}{space 3}  .549453
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2.540023{col 26}{space 2} 1.680978{col 37}{space 1}    1.51{col 46}{space 3}0.135{col 54}{space 4}-.8079348{col 67}{space 3} 5.887981
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store review
{txt}
{com}. eststo:reg coop_with_others     treatment age male education married rank prevAU_UN
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        89
{txt}{hline 13}{c +}{hline 34}   F(6, 82)        = {res}     2.57
{txt}       Model {c |} {res} 16.7393087         6  2.78988479   {txt}Prob > F        ={res}    0.0249
{txt}    Residual {c |} {res} 89.0584441        82  1.08607859   {txt}R-squared       ={res}    0.1582
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0966
{txt}       Total {c |} {res} 105.797753        88  1.20224719   {txt}Root MSE        =   {res} 1.0422

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}coop_with_~s{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.7394817{col 26}{space 2} .2354001{col 37}{space 1}   -3.14{col 46}{space 3}0.002{col 54}{space 4}-1.207768{col 67}{space 3}-.2711959
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0332099{col 26}{space 2} .0275054{col 37}{space 1}   -1.21{col 46}{space 3}0.231{col 54}{space 4} -.087927{col 67}{space 3} .0215071
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2}-.7823756{col 26}{space 2} .4944211{col 37}{space 1}   -1.58{col 46}{space 3}0.117{col 54}{space 4}-1.765937{col 67}{space 3} .2011856
{txt}{space 5}married {c |}{col 14}{res}{space 2}  .266152{col 26}{space 2} .2723149{col 37}{space 1}    0.98{col 46}{space 3}0.331{col 54}{space 4} -.275569{col 67}{space 3}  .807873
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .0254815{col 26}{space 2} .1397245{col 37}{space 1}    0.18{col 46}{space 3}0.856{col 54}{space 4}-.2524749{col 67}{space 3}  .303438
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} .1983269{col 26}{space 2} .2780588{col 37}{space 1}    0.71{col 46}{space 3}0.478{col 54}{space 4}-.3548207{col 67}{space 3} .7514745
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 4.422478{col 26}{space 2} 1.462821{col 37}{space 1}    3.02{col 46}{space 3}0.003{col 54}{space 4} 1.512461{col 67}{space 3} 7.332496
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store coop
{txt}
{com}. eststo:reg complain     treatment age male education married rank prevAU_UN
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        88
{txt}{hline 13}{c +}{hline 34}   F(6, 81)        = {res}     2.13
{txt}       Model {c |} {res} 6.73431956         6  1.12238659   {txt}Prob > F        ={res}    0.0588
{txt}    Residual {c |} {res} 42.7088623        81  .527269904   {txt}R-squared       ={res}    0.1362
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0722
{txt}       Total {c |} {res} 49.4431818        87  .568312435   {txt}Root MSE        =   {res} .72613

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    complain{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} -.506925{col 26}{space 2} .1672311{col 37}{space 1}   -3.03{col 46}{space 3}0.003{col 54}{space 4}-.8396625{col 67}{space 3}-.1741875
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0384916{col 26}{space 2} .0207974{col 37}{space 1}   -1.85{col 46}{space 3}0.068{col 54}{space 4}-.0798719{col 67}{space 3} .0028888
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2}-.5358163{col 26}{space 2} .3911306{col 37}{space 1}   -1.37{col 46}{space 3}0.174{col 54}{space 4}-1.314044{col 67}{space 3}  .242411
{txt}{space 5}married {c |}{col 14}{res}{space 2} .1745493{col 26}{space 2} .1898227{col 37}{space 1}    0.92{col 46}{space 3}0.361{col 54}{space 4}-.2031383{col 67}{space 3} .5522368
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .1475859{col 26}{space 2} .1007568{col 37}{space 1}    1.46{col 46}{space 3}0.147{col 54}{space 4}-.0528885{col 67}{space 3} .3480603
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.2283747{col 26}{space 2} .1964272{col 37}{space 1}   -1.16{col 46}{space 3}0.248{col 54}{space 4}-.6192032{col 67}{space 3} .1624537
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  5.77671{col 26}{space 2}  1.17094{col 37}{space 1}    4.93{col 46}{space 3}0.000{col 54}{space 4} 3.446908{col 67}{space 3} 8.106513
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store compln
{txt}
{com}. eststo:reg relations treatment age male education married rank prevAU_UN
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        88
{txt}{hline 13}{c +}{hline 34}   F(6, 81)        = {res}     2.64
{txt}       Model {c |} {res} 22.1660166         6   3.6943361   {txt}Prob > F        ={res}    0.0218
{txt}    Residual {c |} {res} 113.458983        81  1.40072819   {txt}R-squared       ={res}    0.1634
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1015
{txt}       Total {c |} {res}    135.625        87  1.55890805   {txt}Root MSE        =   {res} 1.1835

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   relations{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} .2091743{col 26}{space 2} .2709677{col 37}{space 1}    0.77{col 46}{space 3}0.442{col 54}{space 4}-.3299663{col 67}{space 3}  .748315
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0108448{col 26}{space 2} .0317703{col 37}{space 1}   -0.34{col 46}{space 3}0.734{col 54}{space 4}-.0740577{col 67}{space 3} .0523681
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2}-1.044954{col 26}{space 2} .5630092{col 37}{space 1}   -1.86{col 46}{space 3}0.067{col 54}{space 4}-2.165166{col 67}{space 3} .0752578
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.2014421{col 26}{space 2} .3115299{col 37}{space 1}   -0.65{col 46}{space 3}0.520{col 54}{space 4}-.8212889{col 67}{space 3} .4184046
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .5711035{col 26}{space 2} .1589068{col 37}{space 1}    3.59{col 46}{space 3}0.001{col 54}{space 4} .2549288{col 67}{space 3} .8872783
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.3146942{col 26}{space 2} .3162617{col 37}{space 1}   -1.00{col 46}{space 3}0.323{col 54}{space 4}-.9439559{col 67}{space 3} .3145675
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 4.565426{col 26}{space 2} 1.680783{col 37}{space 1}    2.72{col 46}{space 3}0.008{col 54}{space 4} 1.221195{col 67}{space 3} 7.909657
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store rel
{txt}
{com}. eststo:reg civ_casual  treatment  age male education married rank prevAU_UN     
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        86
{txt}{hline 13}{c +}{hline 34}   F(6, 79)        = {res}     2.57
{txt}       Model {c |} {res}  19.971807         6   3.3286345   {txt}Prob > F        ={res}    0.0250
{txt}    Residual {c |} {res} 102.167728        79  1.29326238   {txt}R-squared       ={res}    0.1635
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1000
{txt}       Total {c |} {res} 122.139535        85   1.4369357   {txt}Root MSE        =   {res} 1.1372

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  civ_casual{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.6857572{col 26}{space 2} .2611939{col 37}{space 1}   -2.63{col 46}{space 3}0.010{col 54}{space 4}-1.205651{col 67}{space 3}-.1658638
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0132834{col 26}{space 2} .0303672{col 37}{space 1}    0.44{col 46}{space 3}0.663{col 54}{space 4}-.0471611{col 67}{space 3} .0737279
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2} .7307587{col 26}{space 2}  .541907{col 37}{space 1}    1.35{col 46}{space 3}0.181{col 54}{space 4}-.3478803{col 67}{space 3} 1.809398
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.1345493{col 26}{space 2} .2996528{col 37}{space 1}   -0.45{col 46}{space 3}0.655{col 54}{space 4}-.7309933{col 67}{space 3} .4618948
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.3927897{col 26}{space 2} .1535202{col 37}{space 1}   -2.56{col 46}{space 3}0.012{col 54}{space 4}-.6983641{col 67}{space 3}-.0872153
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}  .053132{col 26}{space 2}  .311857{col 37}{space 1}    0.17{col 46}{space 3}0.865{col 54}{space 4}-.5676038{col 67}{space 3} .6738678
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .8753112{col 26}{space 2}  1.60946{col 37}{space 1}    0.54{col 46}{space 3}0.588{col 54}{space 4}-2.328239{col 67}{space 3} 4.078862
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store civ_cas
{txt}
{com}. eststo:reg attack treatment age male education married rank prevAU_UN   
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        89
{txt}{hline 13}{c +}{hline 34}   F(6, 82)        = {res}     0.69
{txt}       Model {c |} {res} 5.56987803         6  .928313005   {txt}Prob > F        ={res}    0.6543
{txt}    Residual {c |} {res} 109.531246        82   1.3357469   {txt}R-squared       ={res}    0.0484
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0212
{txt}       Total {c |} {res} 115.101124        88  1.30796731   {txt}Root MSE        =   {res} 1.1557

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      attack{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} -.147468{col 26}{space 2} .2610587{col 37}{space 1}   -0.56{col 46}{space 3}0.574{col 54}{space 4}-.6667969{col 67}{space 3} .3718609
{txt}{space 9}age {c |}{col 14}{res}{space 2} -.007392{col 26}{space 2} .0305035{col 37}{space 1}   -0.24{col 46}{space 3}0.809{col 54}{space 4}-.0680732{col 67}{space 3} .0532892
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2} .3128924{col 26}{space 2} .5483129{col 37}{space 1}    0.57{col 46}{space 3}0.570{col 54}{space 4}-.7778767{col 67}{space 3} 1.403661
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.3073879{col 26}{space 2} .3019971{col 37}{space 1}   -1.02{col 46}{space 3}0.312{col 54}{space 4}-.9081564{col 67}{space 3} .2933806
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .0877516{col 26}{space 2} .1549544{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4} -.220502{col 67}{space 3} .3960053
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.1283503{col 26}{space 2} .3083672{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-.7417909{col 67}{space 3} .4850902
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.656111{col 26}{space 2} 1.622268{col 37}{space 1}    1.02{col 46}{space 3}0.310{col 54}{space 4}-1.571098{col 67}{space 3} 4.883319
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store atk
{txt}
{com}. eststo:reg index_survey  treatment  

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}        84
{txt}{hline 13}{c +}{hline 34}   F(1, 82)        = {res}    12.82
{txt}       Model {c |} {res} 11.2183686         1  11.2183686   {txt}Prob > F        ={res}    0.0006
{txt}    Residual {c |} {res}  71.781632        82  .875385756   {txt}R-squared       ={res}    0.1352
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1246
{txt}       Total {c |} {res} 83.0000006        83  1.00000001   {txt}Root MSE        =   {res} .93562

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_survey{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.7308954{col 26}{space 2} .2041691{col 37}{space 1}   -3.58{col 46}{space 3}0.001{col 54}{space 4}-1.137053{col 67}{space 3}-.3247379
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3654477{col 26}{space 2} .1443694{col 37}{space 1}    2.53{col 46}{space 3}0.013{col 54}{space 4}  .078251{col 67}{space 3} .6526444
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)

{com}. estimates store index_nocontrol
{txt}
{com}. eststo:reg index_survey  treatment age male education married rank prevAU_UN    
{txt}{p 0 6 2}note: {bf:male} omitted because of collinearity.{p_end}

      Source {c |}       SS           df       MS      Number of obs   ={res}        84
{txt}{hline 13}{c +}{hline 34}   F(6, 77)        = {res}     3.39
{txt}       Model {c |} {res} 17.3365758         6  2.88942931   {txt}Prob > F        ={res}    0.0051
{txt}    Residual {c |} {res} 65.6634248        77   .85277175   {txt}R-squared       ={res}    0.2089
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1472
{txt}       Total {c |} {res} 83.0000006        83  1.00000001   {txt}Root MSE        =   {res} .92346

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}index_survey{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.8643657{col 26}{space 2} .2205138{col 37}{space 1}   -3.92{col 46}{space 3}0.000{col 54}{space 4}-1.303465{col 67}{space 3}-.4252667
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0361523{col 26}{space 2} .0274431{col 37}{space 1}   -1.32{col 46}{space 3}0.192{col 54}{space 4}-.0907986{col 67}{space 3}  .018494
{txt}{space 8}male {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}education {c |}{col 14}{res}{space 2}-.8312593{col 26}{space 2} .5042037{col 37}{space 1}   -1.65{col 46}{space 3}0.103{col 54}{space 4}-1.835257{col 67}{space 3} .1727387
{txt}{space 5}married {c |}{col 14}{res}{space 2} .0474386{col 26}{space 2} .2455935{col 37}{space 1}    0.19{col 46}{space 3}0.847{col 54}{space 4}-.4416004{col 67}{space 3} .5364777
{txt}{space 8}rank {c |}{col 14}{res}{space 2}   .29138{col 26}{space 2} .1296323{col 37}{space 1}    2.25{col 46}{space 3}0.027{col 54}{space 4}  .033249{col 67}{space 3} .5495109
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.4065246{col 26}{space 2}  .257262{col 37}{space 1}   -1.58{col 46}{space 3}0.118{col 54}{space 4}-.9187987{col 67}{space 3} .1057494
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2.860299{col 26}{space 2} 1.532474{col 37}{space 1}    1.87{col 46}{space 3}0.066{col 54}{space 4} -.191247{col 67}{space 3} 5.911845
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est8{txt} stored)

{com}. estimates store index
{txt}
{com}. 
.                         
.  // Graphs
. coefplot   (review, mlabel ("{c -(}it:Protection of civilians is essential{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)ciopts(lcolor(black))) ///
> (coop, mlabel("{c -(}it:Cooperation with civil society {c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)  ciopts(lcolor(black))) ///
>  (compln, mlabel("{c -(}it:Civilians have right to complain{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle)  ciopts(lcolor(black))) ///
>   (rel, mlabel("{c -(}it:Treat locals well{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square)  ciopts(lcolor(black))) ///
>       (civ_cas, mlabel("{c -(}it:No civilian casualties{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>           (atk, mlabel("{c -(}it:Non military options{c )-}") mlabposition(clockposlist 3) mlabcolor(black) msymbol(square) mcolor(black)   ciopts(lcolor(black))) ///
>           (index_nocontrol, mlabel("{c -(}it:Human rights index (no cov.){c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>                   (index, mlabel("{c -(}it:Human rights index (cov.){c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(red) msymbol(triangle) ciopts(lcolor(black))) ///
>  , levels(95) keep( treatment ) graphregion(fcolor(white))title("Experimental Results: Impact of Violence on Civilian Abuse") xline(0, lwidth(thin)) lcolor(red) ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}.  
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. 
. * Table C11: Experimental Results: Impact of Violence on Civilian Abuse
. foreach var of varlist troops_rec_perform_review /// 
>                                                 coop_with_others ///
>                                                 complain ///
>                                                 relations ///
>                                                 civ_casual ///
>                                                 attack ///
>                                           index_survey {c -(} 
{txt}  2{com}.                         qui xi: reg `var' treatment  
{txt}  3{com}.                            outreg2 using  Table.C11, replace  keep (treatment)
{txt}  4{com}.                         {c )-}               
{browse `"C:\Users\prabin\Documents"' :dir} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11""':seeout}

{com}.  
. * Table C11- column 8 with co-variates
. foreach var of varlist troops_rec_perform_review /// 
>                                                 coop_with_others ///
>                                                 complain ///
>                                                 relations ///
>                                                 civ_casual ///
>                                                 attack ///
>                                           index_survey {c -(} 
{txt}  2{com}.                         qui xi: reg `var' treatment  age male education married rank prevAU_UN  
{txt}  3{com}.                            outreg2 using  Table.C11_1, replace keep (treatment)
{txt}  4{com}.                         {c )-}               
{browse `"C:\Users\prabin\Documents"' :dir} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}
{browse `"C:\Users\prabin\Documents"' :dir}{com} : {txt}{stata `"seeout using "Table.C11_1""':seeout}

{com}.  
.  
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}.  
. ** Table C10: Balance Test- Survey Experiment with Kenyans (Treatment vs Control)
. eststo clear
{txt}
{com}. foreach var of varlist age male education married rank prevAU_UN {c -(} 
{txt}  2{com}.                         eststo: reg `var' treatment,robust
{txt}  3{com}.                            esttab using "exp_balance.rtf", replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) ti("Balance - Survey Experiment with Kenyans") addnotes("(p-values are for two-sided tests.)") mtitles("Age"  "Sex"  "Edu."  "Marry" "Rnk"  "Prev. AMISOM/UN" )
{txt}  4{com}.                         {c )-}

{txt}Linear regression                               Number of obs     = {res}        89
                                                {txt}F(1, 87)          =  {res}    11.20
                                                {txt}Prob > F          = {res}    0.0012
                                                {txt}R-squared         = {res}    0.1073
                                                {txt}Root MSE          =    {res} 5.5516

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}         age{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} -3.81155{col 26}{space 2}  1.13893{col 37}{space 1}   -3.35{col 46}{space 3}0.001{col 54}{space 4}-6.075297{col 67}{space 3}-1.547803
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 31.38298{col 26}{space 2} 1.010995{col 37}{space 1}   31.04{col 46}{space 3}0.000{col 54}{space 4} 29.37352{col 67}{space 3} 33.39244
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

Linear regression                               Number of obs     = {res}        89
                                                {txt}{help j_robustsingular:F(0, 87) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}         .
                                                {txt}Root MSE          =    {res}      0

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}        male{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}_cons {c |}{col 14}{res}{space 2}        1{col 26}{space 2}        .{col 37}{space 1}       .{col 46}{space 3}    .{col 54}{space 4}        .{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

Linear regression                               Number of obs     = {res}        89
                                                {txt}F(1, 87)          =  {res}     0.13
                                                {txt}Prob > F          = {res}    0.7236
                                                {txt}R-squared         = {res}    0.0014
                                                {txt}Root MSE          =    {res} .32121

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   education{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} .0238095{col 26}{space 2} .0671161{col 37}{space 1}    0.35{col 46}{space 3}0.724{col 54}{space 4} -.109591{col 67}{space 3}   .15721
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        2{col 26}{space 2} .0527124{col 37}{space 1}   37.94{col 46}{space 3}0.000{col 54}{space 4} 1.895228{col 67}{space 3} 2.104772
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

Linear regression                               Number of obs     = {res}        89
                                                {txt}F(1, 87)          =  {res}     1.06
                                                {txt}Prob > F          = {res}    0.3066
                                                {txt}R-squared         = {res}    0.0122
                                                {txt}Root MSE          =    {res} .44007

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     married{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.0967579{col 26}{space 2} .0940808{col 37}{space 1}   -1.03{col 46}{space 3}0.307{col 54}{space 4}-.2837537{col 67}{space 3}  .090238
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .787234{col 26}{space 2} .0603795{col 37}{space 1}   13.04{col 46}{space 3}0.000{col 54}{space 4} .6672233{col 67}{space 3} .9072448
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

Linear regression                               Number of obs     = {res}        89
                                                {txt}F(1, 87)          =  {res}     0.98
                                                {txt}Prob > F          = {res}    0.3240
                                                {txt}R-squared         = {res}    0.0110
                                                {txt}Root MSE          =    {res} 1.1836

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}        rank{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.2472138{col 26}{space 2}  .249211{col 37}{space 1}   -0.99{col 46}{space 3}0.324{col 54}{space 4}-.7425476{col 67}{space 3}   .24812
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.723404{col 26}{space 2} .1843733{col 37}{space 1}    9.35{col 46}{space 3}0.000{col 54}{space 4} 1.356942{col 67}{space 3} 2.089866
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

Linear regression                               Number of obs     = {res}        89
                                                {txt}F(1, 87)          =  {res}     2.14
                                                {txt}Prob > F          = {res}    0.1475
                                                {txt}R-squared         = {res}    0.0239
                                                {txt}Root MSE          =    {res} .49582

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   prevAU_UN{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}-.1534954{col 26}{space 2} .1050291{col 37}{space 1}   -1.46{col 46}{space 3}0.147{col 54}{space 4}-.3622521{col 67}{space 3} .0552612
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5106383{col 26}{space 2} .0737493{col 37}{space 1}    6.92{col 46}{space 3}0.000{col 54}{space 4} .3640535{col 67}{space 3} .6572231
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)
{res}{txt}(output written to {browse  `"exp_balance.rtf"'})

{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\ConvoyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. *Figure 2: IED hits against AMISOM convoys in Sector 1
. preserve
{txt}
{com}. keep if Sec==1
{txt}(1,294 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 1: Uganda") ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. 
. ** Fig D11
. 
. preserve
{txt}
{com}. collapse (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
>     xtitle("") ytitle("Convoys and IED hits, daily totals") title("All six sectors") ///
>     xlabel(#15, angle(45)) ///
>     ylabel(#8) ///
>     lcolor(blue red) ///
>     legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. preserve
{txt}
{com}. keep if Sec==2
{txt}(1,899 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 2: Kenya") ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. preserve
{txt}
{com}. keep if Sec==3
{txt}(1,938 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 3: Ethiopia") ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. preserve
{txt}
{com}. keep if Sec==4
{txt}(1,815 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 4: Djibouti/Ethiopia") ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. preserve
{txt}
{com}. keep if Sec==5
{txt}(1,625 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 5: Burundi")  ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
. preserve
{txt}
{com}. keep if Sec==6
{txt}(1,550 observations deleted)

{com}. collapse  (sum) convoy ied, by(date)
{res}{txt}
{com}. twoway bar convoy ied date, ///
> xtitle("") ytitle("Convoys and IED hits, daily totals") title("Sector 6: Kenya/Ethiopia/Burundi")  ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "(sum) convoy") label(2 "(sum) ied") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. ********************************************************************************************
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\IEDgraphData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. line IED_AMISOM IED_Others Date, ///
>     xtitle("") ytitle("IED attacks-Monthly Cumulative") ///
>     xlabel(#10, angle(45)) ///
>     lcolor(blue red) lpattern(solid dash) ///
>     legend(order(1 2) label(1 "Against AMISOM only") label(2 "All other attacks") position(6) cols(2))
{res}{txt}
{com}.         graph save amisom1, replace
{res}{txt}file {bf:amisom1.gph} saved

{com}.         
. line AMISOM_Kill Date, ///
>     xtitle("") ytitle("AMISOM peacekeepers killed daily totals") ///
>     xlabel(#10, angle(45)) ///
>     lcolor(blue) 
{res}{txt}
{com}.     graph save amisom2, replace
{res}{txt}file {bf:amisom2.gph} saved

{com}. 
.         graph combine  amisom1.gph amisom2.gph, xsize(12) ysize(4)
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\SurveyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. global controls duration age male edu rank married prevAU_UN mil_ops pre_dep  i.dist    
{txt}
{com}. 
. 
. * Summary stats
. ** Table A 4: Summary statistics of AMISOM Peacekeepers in Somalia
. gen Kenya=0
{txt}
{com}. replace Kenya=1 if TCC=="Kenya"
{txt}(131 real changes made)

{com}. 
. gen Uganda=0
{txt}
{com}. replace Uganda=1 if TCC=="Uganda"
{txt}(128 real changes made)

{com}. 
. gen Eth=0
{txt}
{com}. replace Eth=1 if TCC=="Ethiopia"
{txt}(190 real changes made)

{com}. 
. gen Burundi=0
{txt}
{com}. replace Burundi=1 if TCC=="Burundi"
{txt}(141 real changes made)

{com}. 
. 
. dtable male age married education rank prevAU_UN mil_ops pre_dep AS_fight injury killed ied_face totaliedsincearvl amsm_cas dur  Kenya Eth Burundi Uganda 
{res}
{smcl}
{reset}{...}
{hline 17}{c -}{hline 14}
{space 17} {space 4}Summary{space 3}
{hline 17}{c -}{hline 14}
N{space 16} {space 11}{result:590}
male{space 13} {space 1}{result:0.971 (0.168)}
age{space 14} {result:34.544 (8.346)}
married{space 10} {space 1}{result:0.666 (0.472)}
education{space 8} {space 1}{result:2.714 (0.871)}
Current Rank{space 5} {space 1}{result:1.917 (1.019)}
prevAU_UN{space 8} {space 1}{result:0.480 (0.500)}
mil_ops{space 10} {space 1}{result:0.264 (0.441)}
pre_dep{space 10} {space 1}{result:0.941 (0.236)}
AS_fight{space 9} {space 1}{result:0.327 (0.668)}
injury{space 11} {space 1}{result:0.540 (0.922)}
killed{space 11} {space 1}{result:0.371 (0.824)}
ied_face{space 9} {space 1}{result:0.429 (0.495)}
totaliedsincearvl {space 1}{result:3.924 (4.662)}
amsm_cas{space 9} {space 1}{result:2.105 (5.132)}
duration{space 9} {space 1}{result:2.058 (0.854)}
Kenya{space 12} {space 1}{result:0.222 (0.416)}
Eth{space 14} {space 1}{result:0.322 (0.468)}
Burundi{space 10} {space 1}{result:0.239 (0.427)}
Uganda{space 11} {space 1}{result:0.217 (0.413)}
{hline 17}{c -}{hline 14}

{com}. 
. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. pca troops_rec_perform_review coop_with_others complain relations civ_casual attack

{txt}Principal components/correlation{col 50}Number of obs    = {res}       368
{col 50}{txt}Number of comp.  = {res}         6
{col 50}{txt}Trace            {col 67}=  {res}        6
{col 5}{txt}Rotation: (unrotated = principal){col 50}Rho              = {res}    1.0000

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}   Component {c |}   Eigenvalue   Difference         Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 12:Comp1} {c |}{res}      1.51776      .313223             0.2530       0.2530
{txt}{col 5}{ralign 12:Comp2} {c |}{res}      1.20454       .16471             0.2008       0.4537
{txt}{col 5}{ralign 12:Comp3} {c |}{res}      1.03983      .196451             0.1733       0.6270
{txt}{col 5}{ralign 12:Comp4} {c |}{res}      .843381     .0863876             0.1406       0.7676
{txt}{col 5}{ralign 12:Comp5} {c |}{res}      .756993      .119503             0.1262       0.8938
{txt}{col 5}{ralign 12:Comp6} {c |}{res}       .63749            .             0.1062       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}

Principal components (eigenvectors) 

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Comp1}{space 1}{space 1}{ralign 8:Comp2}{space 1}{space 1}{ralign 8:Comp3}{space 1}{space 1}{ralign 8:Comp4}{space 1}{space 1}{ralign 8:Comp5}{space 1}{space 1}{ralign 8:Comp6}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:troops_rec~w}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5614}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2062}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0722}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0577}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.6975}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3836}}}{space 1}
{space 4}{space 0}{ralign 12:coop_with_~s}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.3587}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.5759}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3727}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1505}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0721}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.6107}}}{space 1}
{space 4}{space 0}{ralign 12:complain}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0771}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3575}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.7933}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3918}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0007}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2889}}}{space 1}
{space 4}{space 0}{ralign 12:relations}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.2983}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.6756}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0157}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2981}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2414}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.5542}}}{space 1}
{space 4}{space 0}{ralign 12:civ_casual}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5563}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0261}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0457}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4448}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.6346}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2954}}}{space 1}
{space 4}{space 0}{ralign 12:attack}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.3895}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2022}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4736}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.7306}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2175}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0451}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}

{space 4}{hline 13}{c  TT}{hline 13}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 11:Unexplained}{space 1}
{space 4}{hline 13}{c   +}{hline 13}
{space 4}{space 0}{ralign 12:troops_rec~w}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{space 0}{ralign 12:coop_with_~s}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{space 0}{ralign 12:complain}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{space 0}{ralign 12:relations}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{space 0}{ralign 12:civ_casual}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{space 0}{ralign 12:attack}{space 1}{c |}{space 1}{center 11:{res:{sf:          0}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 13}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. screeplot, yline(1) ci(het)
{res}{txt}
{com}. predict pc1 pc2 pc3, score
{txt}(3 components skipped)

Scoring coefficients 
{col 5}sum of squares(column-loading) = 1

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Comp1}{space 1}{space 1}{ralign 8:Comp2}{space 1}{space 1}{ralign 8:Comp3}{space 1}{space 1}{ralign 8:Comp4}{space 1}{space 1}{ralign 8:Comp5}{space 1}{space 1}{ralign 8:Comp6}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:troops_rec~w}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5614}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2062}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0722}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0577}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.6975}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3836}}}{space 1}
{space 4}{space 0}{ralign 12:coop_with_~s}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.3587}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.5759}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3727}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1505}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0721}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.6107}}}{space 1}
{space 4}{space 0}{ralign 12:complain}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0771}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3575}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.7933}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3918}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0007}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2889}}}{space 1}
{space 4}{space 0}{ralign 12:relations}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.2983}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.6756}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0157}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2981}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2414}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.5542}}}{space 1}
{space 4}{space 0}{ralign 12:civ_casual}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5563}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0261}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0457}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4448}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.6346}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2954}}}{space 1}
{space 4}{space 0}{ralign 12:attack}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.3895}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2022}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4736}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.7306}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2175}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0451}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}

{com}. 
. 
. ** Column (8) for Table A5 (PCA): Peacekeeping casualties on Civilian Abuse: Survey with self-reported IED attacks
. reg pc1 ied_face ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       356
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1941
                                                {txt}Root MSE          =    {res} 1.1458

{txt}{ralign 78:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}         pc1{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.3454168{col 26}{space 2} .1149511{col 37}{space 1}   -3.00{col 46}{space 3}0.006{col 54}{space 4}-.5808834{col 67}{space 3}-.1099502
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.1655949{col 26}{space 2} .1113548{col 37}{space 1}   -1.49{col 46}{space 3}0.148{col 54}{space 4} -.393695{col 67}{space 3} .0625051
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0046172{col 26}{space 2} .0082434{col 37}{space 1}    0.56{col 46}{space 3}0.580{col 54}{space 4}-.0122687{col 67}{space 3} .0215032
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.2642672{col 26}{space 2} .3537236{col 37}{space 1}   -0.75{col 46}{space 3}0.461{col 54}{space 4}-.9888372{col 67}{space 3} .4603028
{txt}{space 3}education {c |}{col 14}{res}{space 2} .1026113{col 26}{space 2} .1011669{col 37}{space 1}    1.01{col 46}{space 3}0.319{col 54}{space 4}-.1046196{col 67}{space 3} .3098422
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.1677491{col 26}{space 2} .0783775{col 37}{space 1}   -2.14{col 46}{space 3}0.041{col 54}{space 4}-.3282982{col 67}{space 3}-.0072001
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0520885{col 26}{space 2} .1407589{col 37}{space 1}   -0.37{col 46}{space 3}0.714{col 54}{space 4}-.3404202{col 67}{space 3} .2362431
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2} .3349445{col 26}{space 2} .1592352{col 37}{space 1}    2.10{col 46}{space 3}0.045{col 54}{space 4}  .008766{col 67}{space 3}  .661123
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2}-.2797863{col 26}{space 2} .2081694{col 37}{space 1}   -1.34{col 46}{space 3}0.190{col 54}{space 4} -.706202{col 67}{space 3} .1466294
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.0118397{col 26}{space 2} .3289224{col 37}{space 1}   -0.04{col 46}{space 3}0.972{col 54}{space 4}-.6856067{col 67}{space 3} .6619273
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} 2.050132{col 26}{space 2} .3054956{col 37}{space 1}    6.71{col 46}{space 3}0.000{col 54}{space 4} 1.424352{col 67}{space 3} 2.675911
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} 2.132122{col 26}{space 2} .3356735{col 37}{space 1}    6.35{col 46}{space 3}0.000{col 54}{space 4} 1.444525{col 67}{space 3} 2.819718
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2}-.0025842{col 26}{space 2} .3011363{col 37}{space 1}   -0.01{col 46}{space 3}0.993{col 54}{space 4} -.619434{col 67}{space 3} .6142656
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .2927958{col 26}{space 2} .3105678{col 37}{space 1}    0.94{col 46}{space 3}0.354{col 54}{space 4}-.3433735{col 67}{space 3} .9289651
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} 1.091091{col 26}{space 2} .3212688{col 37}{space 1}    3.40{col 46}{space 3}0.002{col 54}{space 4} .4330013{col 67}{space 3}  1.74918
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} 1.461073{col 26}{space 2} .4632608{col 37}{space 1}    3.15{col 46}{space 3}0.004{col 54}{space 4} .5121261{col 67}{space 3} 2.410019
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} 1.103311{col 26}{space 2} .3999086{col 37}{space 1}    2.76{col 46}{space 3}0.010{col 54}{space 4} .2841349{col 67}{space 3} 1.922486
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .7912153{col 26}{space 2} .3283859{col 37}{space 1}    2.41{col 46}{space 3}0.023{col 54}{space 4} .1185474{col 67}{space 3} 1.463883
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .0787328{col 26}{space 2} .3273771{col 37}{space 1}    0.24{col 46}{space 3}0.812{col 54}{space 4}-.5918688{col 67}{space 3} .7493344
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .5140068{col 26}{space 2} .3453438{col 37}{space 1}    1.49{col 46}{space 3}0.148{col 54}{space 4}-.1933979{col 67}{space 3} 1.221412
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .4879148{col 26}{space 2} .3012838{col 37}{space 1}    1.62{col 46}{space 3}0.117{col 54}{space 4}-.1292372{col 67}{space 3} 1.105067
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .0242399{col 26}{space 2} .6845561{col 37}{space 1}    0.04{col 46}{space 3}0.972{col 54}{space 4} -1.37801{col 67}{space 3}  1.42649
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. preserve
{txt}
{com}. correlate troops_rec_perform_review coop_with_others complain relations civ_casual attack
{txt}(obs=368)

             {c |} troops~w coop_w~s complain relati~s civ_ca~l   attack
{hline 13}{c +}{hline 54}
troops_rec~w {c |}{res}   1.0000
{txt}coop_with_~s {c |}{res}   0.2260   1.0000
    {txt}complain {c |}{res}   0.0315  -0.0387   1.0000
   {txt}relations {c |}{res}  -0.0916   0.1354   0.1382   1.0000
  {txt}civ_casual {c |}{res}   0.2229   0.1657  -0.0218  -0.1654   1.0000
      {txt}attack {c |}{res}  -0.1558  -0.0105  -0.0248   0.1256  -0.1346   1.0000

{txt}
{com}. matrix list r(C)
{res}
{txt}symmetric r(C)[6,6]
              troops_rec~w  coop_with_~s      complain     relations    civ_casual
troops_rec~w {res}            1
{txt}coop_with_~s {res}    .22600385             1
{txt}    complain {res}    .03146911      -.038687             1
{txt}   relations {res}   -.09161932     .13538663     .13818495             1
{txt}  civ_casual {res}    .22294441     .16568783    -.02181986    -.16535844             1
{txt}      attack {res}   -.15580205    -.01048954    -.02477468     .12559645    -.13460116

{txt}                    attack
      attack {res}            1
{reset}
{com}. version 14.0
{txt}
{com}. putexcel A1=matrix(r(C), names) using amisom_corr.xlsx, modify keepcellformat
{res}{txt}file {bf:amisom_corr.xlsx} saved

{com}. restore
{txt}
{com}. 
. 
. ** Figure A8: Predictive Margins MARGIN Plots
. ** Left (Attitudinal)
. reg index_humanrights  totaliedsincearvl dur age male edu rank married prevAU_UN mil_ops pre_dep  i.dist        ,cluster(fob1)  

{txt}Linear regression                               Number of obs     = {res}       364
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2139
                                                {txt}Root MSE          =    {res} .82658

{txt}{ralign 83:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0267156{col 31}{space 2} .0092189{col 42}{space 1}   -2.90{col 51}{space 3}0.007{col 59}{space 4}-.0455997{col 72}{space 3}-.0078314
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0425304{col 31}{space 2} .0842072{col 42}{space 1}    0.51{col 51}{space 3}0.617{col 59}{space 4}-.1299602{col 72}{space 3}  .215021
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0060374{col 31}{space 2}  .007108{col 42}{space 1}   -0.85{col 51}{space 3}0.403{col 59}{space 4}-.0205976{col 72}{space 3} .0085227
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.0770017{col 31}{space 2} .3557131{col 42}{space 1}   -0.22{col 51}{space 3}0.830{col 59}{space 4}-.8056469{col 72}{space 3} .6516436
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1110145{col 31}{space 2}  .070926{col 42}{space 1}    1.57{col 51}{space 3}0.129{col 59}{space 4}-.0342709{col 72}{space 3} .2562998
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0427247{col 31}{space 2} .0572848{col 42}{space 1}   -0.75{col 51}{space 3}0.462{col 59}{space 4}-.1600674{col 72}{space 3} .0746179
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0562093{col 31}{space 2} .0834864{col 42}{space 1}   -0.67{col 51}{space 3}0.506{col 59}{space 4}-.2272235{col 72}{space 3}  .114805
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.2691579{col 31}{space 2} .1060906{col 42}{space 1}   -2.54{col 51}{space 3}0.017{col 59}{space 4}-.4864746{col 72}{space 3}-.0518411
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0779387{col 31}{space 2} .1050756{col 42}{space 1}    0.74{col 51}{space 3}0.464{col 59}{space 4} -.137299{col 72}{space 3} .2931763
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2} -.347294{col 31}{space 2} .1963298{col 42}{space 1}   -1.77{col 51}{space 3}0.088{col 59}{space 4}-.7494575{col 72}{space 3} .0548694
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2}  .441709{col 31}{space 2}  .139965{col 42}{space 1}    3.16{col 51}{space 3}0.004{col 59}{space 4} .1550037{col 72}{space 3} .7284143
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7947421{col 31}{space 2} .1549412{col 42}{space 1}    5.13{col 51}{space 3}0.000{col 59}{space 4} .4773595{col 72}{space 3} 1.112125
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.2074772{col 31}{space 2} .2151503{col 42}{space 1}   -0.96{col 51}{space 3}0.343{col 59}{space 4}-.6481926{col 72}{space 3} .2332382
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.0580695{col 31}{space 2} .1689611{col 42}{space 1}   -0.34{col 51}{space 3}0.734{col 59}{space 4}-.4041706{col 72}{space 3} .2880316
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} .8538203{col 31}{space 2} .1576552{col 42}{space 1}    5.42{col 51}{space 3}0.000{col 59}{space 4} .5308783{col 72}{space 3} 1.176762
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1294957{col 31}{space 2} .4176964{col 42}{space 1}    0.31{col 51}{space 3}0.759{col 59}{space 4}-.7261167{col 72}{space 3}  .985108
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1731975{col 31}{space 2} .2582984{col 42}{space 1}   -0.67{col 51}{space 3}0.508{col 59}{space 4}-.7022978{col 72}{space 3} .3559028
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2}  .936209{col 31}{space 2} .1999561{col 42}{space 1}    4.68{col 51}{space 3}0.000{col 59}{space 4} .5266175{col 72}{space 3} 1.345801
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .6083851{col 31}{space 2} .1698408{col 42}{space 1}    3.58{col 51}{space 3}0.001{col 59}{space 4} .2604819{col 72}{space 3} .9562882
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .5232997{col 31}{space 2} .1759031{col 42}{space 1}    2.97{col 51}{space 3}0.006{col 59}{space 4} .1629784{col 72}{space 3} .8836209
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .1408179{col 31}{space 2} .2206018{col 42}{space 1}    0.64{col 51}{space 3}0.528{col 59}{space 4}-.3110643{col 72}{space 3} .5927002
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0983744{col 31}{space 2}  .542877{col 42}{space 1}    0.18{col 51}{space 3}0.858{col 59}{space 4}-1.013659{col 72}{space 3} 1.210408
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. margins, at (totaliedsincearvl=(0 2 4 6 8 10 12 14 16 18 20 22 24 26 ))
{res}
{txt}{col 1}Predictive margins{col 60}{lalign 13:Number of obs}{col 73} = {res}{ralign 3:364}
{txt}{col 1}Model VCE: {res:Robust}

{txt}{p2colset 1 13 13 2}{...}
{p2col:Expression:}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{lalign 8:1._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:0}}
{lalign 8:2._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:2}}
{lalign 8:3._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:4}}
{lalign 8:4._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:6}}
{lalign 8:5._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:8}}
{lalign 8:6._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:10}}
{lalign 8:7._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:12}}
{lalign 8:8._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:14}}
{lalign 8:9._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:16}}
{lalign 8:10._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:18}}
{lalign 8:11._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:20}}
{lalign 8:12._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:22}}
{lalign 8:13._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:24}}
{lalign 8:14._at: }{space 0}{lalign 16:totaliedsincea~l} = {res:{ralign 2:26}}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2}-.0563742{col 26}{space 2} .0636929{col 37}{space 1}   -0.89{col 46}{space 3}0.384{col 54}{space 4}-.1868432{col 67}{space 3} .0740948
{txt}{space 10}2  {c |}{col 14}{res}{space 2}-.1098053{col 26}{space 2} .0512521{col 37}{space 1}   -2.14{col 46}{space 3}0.041{col 54}{space 4}-.2147905{col 67}{space 3}-.0048202
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.1632365{col 26}{space 2} .0433206{col 37}{space 1}   -3.77{col 46}{space 3}0.001{col 54}{space 4}-.2519748{col 67}{space 3}-.0744982
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.2166677{col 26}{space 2} .0425028{col 37}{space 1}   -5.10{col 46}{space 3}0.000{col 54}{space 4}-.3037307{col 67}{space 3}-.1296046
{txt}{space 10}5  {c |}{col 14}{res}{space 2}-.2700988{col 26}{space 2}  .049155{col 37}{space 1}   -5.49{col 46}{space 3}0.000{col 54}{space 4}-.3707882{col 67}{space 3}-.1694095
{txt}{space 10}6  {c |}{col 14}{res}{space 2}  -.32353{col 26}{space 2} .0608756{col 37}{space 1}   -5.31{col 46}{space 3}0.000{col 54}{space 4}-.4482281{col 67}{space 3}-.1988319
{txt}{space 10}7  {c |}{col 14}{res}{space 2}-.3769612{col 26}{space 2} .0753352{col 37}{space 1}   -5.00{col 46}{space 3}0.000{col 54}{space 4}-.5312783{col 67}{space 3}-.2226441
{txt}{space 10}8  {c |}{col 14}{res}{space 2}-.4303923{col 26}{space 2} .0912406{col 37}{space 1}   -4.72{col 46}{space 3}0.000{col 54}{space 4}-.6172902{col 67}{space 3}-.2434945
{txt}{space 10}9  {c |}{col 14}{res}{space 2}-.4838235{col 26}{space 2} .1079547{col 37}{space 1}   -4.48{col 46}{space 3}0.000{col 54}{space 4}-.7049586{col 67}{space 3}-.2626884
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-.5372547{col 26}{space 2} .1251538{col 37}{space 1}   -4.29{col 46}{space 3}0.000{col 54}{space 4}-.7936207{col 67}{space 3}-.2808886
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.5906858{col 26}{space 2} .1426628{col 37}{space 1}   -4.14{col 46}{space 3}0.000{col 54}{space 4}-.8829173{col 67}{space 3}-.2984543
{txt}{space 9}12  {c |}{col 14}{res}{space 2} -.644117{col 26}{space 2} .1603801{col 37}{space 1}   -4.02{col 46}{space 3}0.000{col 54}{space 4}-.9726407{col 67}{space 3}-.3155933
{txt}{space 9}13  {c |}{col 14}{res}{space 2}-.6975481{col 26}{space 2} .1782436{col 37}{space 1}   -3.91{col 46}{space 3}0.001{col 54}{space 4}-1.062664{col 67}{space 3}-.3324327
{txt}{space 9}14  {c |}{col 14}{res}{space 2}-.7509793{col 26}{space 2} .1962134{col 37}{space 1}   -3.83{col 46}{space 3}0.001{col 54}{space 4}-1.152904{col 67}{space 3}-.3490544
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot             
{res}
{text}{p 0 0 2}Variables that uniquely identify margins: {bf:totaliedsincearvl}{p_end}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\BehaviorData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. xi:reg civcas iedattack  rainfall ramadaan  i.location i.year
{txt}i.location{col 19}_Ilocation_1-30{col 39}(naturally coded; _Ilocation_1 omitted)
i.year{col 19}_Iyear_2014-2019{col 39}(naturally coded; _Iyear_2014 omitted)

      Source {c |}       SS           df       MS      Number of obs   ={res}       490
{txt}{hline 13}{c +}{hline 34}   F(37, 452)      = {res}     1.33
{txt}       Model {c |} {res} 455.916117        37  12.3220572   {txt}Prob > F        ={res}    0.0951
{txt}    Residual {c |} {res} 4172.73899       452  9.23172342   {txt}R-squared       ={res}    0.0985
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0247
{txt}       Total {c |} {res}  4628.6551       489  9.46555236   {txt}Root MSE        =   {res} 3.0384

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       civcas{col 15}{c |} Coefficient{col 27}  Std. err.{col 39}      t{col 47}   P>|t|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}iedattack {c |}{col 15}{res}{space 2} .8789592{col 27}{space 2} .3039287{col 38}{space 1}    2.89{col 47}{space 3}0.004{col 55}{space 4} .2816706{col 68}{space 3} 1.476248
{txt}{space 5}rainfall {c |}{col 15}{res}{space 2}-.1068005{col 27}{space 2}  .109383{col 38}{space 1}   -0.98{col 47}{space 3}0.329{col 55}{space 4}-.3217629{col 68}{space 3} .1081619
{txt}{space 5}ramadaan {c |}{col 15}{res}{space 2} .2203464{col 27}{space 2} .4485765{col 38}{space 1}    0.49{col 47}{space 3}0.624{col 55}{space 4} -.661208{col 68}{space 3} 1.101901
{txt}{space 1}_Ilocation_2 {c |}{col 15}{res}{space 2} .3903843{col 27}{space 2} 2.214367{col 38}{space 1}    0.18{col 47}{space 3}0.860{col 55}{space 4}-3.961348{col 68}{space 3} 4.742117
{txt}{space 1}_Ilocation_3 {c |}{col 15}{res}{space 2} -.177502{col 27}{space 2} 2.295761{col 38}{space 1}   -0.08{col 47}{space 3}0.938{col 55}{space 4}-4.689192{col 68}{space 3} 4.334188
{txt}{space 1}_Ilocation_4 {c |}{col 15}{res}{space 2}   .52129{col 27}{space 2} 2.356473{col 38}{space 1}    0.22{col 47}{space 3}0.825{col 55}{space 4}-4.109712{col 68}{space 3} 5.152292
{txt}{space 1}_Ilocation_5 {c |}{col 15}{res}{space 2} .1983585{col 27}{space 2}  2.58928{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-4.890163{col 68}{space 3}  5.28688
{txt}{space 1}_Ilocation_6 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 1}_Ilocation_7 {c |}{col 15}{res}{space 2}-.0778792{col 27}{space 2} 2.472281{col 38}{space 1}   -0.03{col 47}{space 3}0.975{col 55}{space 4}-4.936472{col 68}{space 3} 4.780713
{txt}{space 1}_Ilocation_8 {c |}{col 15}{res}{space 2} .6221645{col 27}{space 2} 2.221568{col 38}{space 1}    0.28{col 47}{space 3}0.780{col 55}{space 4}-3.743718{col 68}{space 3} 4.988047
{txt}{space 1}_Ilocation_9 {c |}{col 15}{res}{space 2} .9094683{col 27}{space 2} 2.246398{col 38}{space 1}    0.40{col 47}{space 3}0.686{col 55}{space 4}-3.505211{col 68}{space 3} 5.324148
{txt}_Ilocation_10 {c |}{col 15}{res}{space 2} 2.492543{col 27}{space 2} 2.264195{col 38}{space 1}    1.10{col 47}{space 3}0.272{col 55}{space 4}-1.957113{col 68}{space 3} 6.942199
{txt}_Ilocation_11 {c |}{col 15}{res}{space 2} .2350083{col 27}{space 2} 2.344283{col 38}{space 1}    0.10{col 47}{space 3}0.920{col 55}{space 4}-4.372038{col 68}{space 3} 4.842054
{txt}_Ilocation_12 {c |}{col 15}{res}{space 2} .7212985{col 27}{space 2} 2.549207{col 38}{space 1}    0.28{col 47}{space 3}0.777{col 55}{space 4}-4.288469{col 68}{space 3} 5.731066
{txt}_Ilocation_13 {c |}{col 15}{res}{space 2}-.1773596{col 27}{space 2} 2.794133{col 38}{space 1}   -0.06{col 47}{space 3}0.949{col 55}{space 4}-5.668463{col 68}{space 3} 5.313744
{txt}_Ilocation_14 {c |}{col 15}{res}{space 2}-.4805315{col 27}{space 2} 2.344427{col 38}{space 1}   -0.20{col 47}{space 3}0.838{col 55}{space 4} -5.08786{col 68}{space 3} 4.126797
{txt}_Ilocation_15 {c |}{col 15}{res}{space 2} 5.518128{col 27}{space 2} 2.789372{col 38}{space 1}    1.98{col 47}{space 3}0.049{col 55}{space 4} .0363823{col 68}{space 3} 10.99987
{txt}_Ilocation_16 {c |}{col 15}{res}{space 2}-.0326529{col 27}{space 2} 3.745178{col 38}{space 1}   -0.01{col 47}{space 3}0.993{col 55}{space 4}-7.392775{col 68}{space 3}  7.32747
{txt}_Ilocation_17 {c |}{col 15}{res}{space 2} -.213601{col 27}{space 2} 3.727659{col 38}{space 1}   -0.06{col 47}{space 3}0.954{col 55}{space 4}-7.539295{col 68}{space 3} 7.112093
{txt}_Ilocation_18 {c |}{col 15}{res}{space 2}  1.18737{col 27}{space 2} 3.080846{col 38}{space 1}    0.39{col 47}{space 3}0.700{col 55}{space 4} -4.86719{col 68}{space 3} 7.241931
{txt}_Ilocation_19 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_20 {c |}{col 15}{res}{space 2} .7621944{col 27}{space 2} 2.423818{col 38}{space 1}    0.31{col 47}{space 3}0.753{col 55}{space 4}-4.001156{col 68}{space 3} 5.525545
{txt}_Ilocation_21 {c |}{col 15}{res}{space 2} .1788633{col 27}{space 2} 2.253293{col 38}{space 1}    0.08{col 47}{space 3}0.937{col 55}{space 4}-4.249367{col 68}{space 3} 4.607093
{txt}_Ilocation_22 {c |}{col 15}{res}{space 2} .0348192{col 27}{space 2} 2.274462{col 38}{space 1}    0.02{col 47}{space 3}0.988{col 55}{space 4}-4.435013{col 68}{space 3} 4.504652
{txt}_Ilocation_23 {c |}{col 15}{res}{space 2}-.1558292{col 27}{space 2}  2.33855{col 38}{space 1}   -0.07{col 47}{space 3}0.947{col 55}{space 4}-4.751609{col 68}{space 3} 4.439951
{txt}_Ilocation_24 {c |}{col 15}{res}{space 2}-.9486859{col 27}{space 2} 3.063446{col 38}{space 1}   -0.31{col 47}{space 3}0.757{col 55}{space 4}-6.969051{col 68}{space 3} 5.071679
{txt}_Ilocation_25 {c |}{col 15}{res}{space 2} .9726162{col 27}{space 2} 2.203683{col 38}{space 1}    0.44{col 47}{space 3}0.659{col 55}{space 4}-3.358119{col 68}{space 3} 5.303351
{txt}_Ilocation_26 {c |}{col 15}{res}{space 2} .6865941{col 27}{space 2} 3.766485{col 38}{space 1}    0.18{col 47}{space 3}0.855{col 55}{space 4}-6.715402{col 68}{space 3}  8.08859
{txt}_Ilocation_27 {c |}{col 15}{res}{space 2} 1.993874{col 27}{space 2} 2.215554{col 38}{space 1}    0.90{col 47}{space 3}0.369{col 55}{space 4} -2.36019{col 68}{space 3} 6.347938
{txt}_Ilocation_28 {c |}{col 15}{res}{space 2} .2930982{col 27}{space 2} 3.800611{col 38}{space 1}    0.08{col 47}{space 3}0.939{col 55}{space 4}-7.175962{col 68}{space 3} 7.762159
{txt}_Ilocation_29 {c |}{col 15}{res}{space 2}-.4618697{col 27}{space 2} 2.395003{col 38}{space 1}   -0.19{col 47}{space 3}0.847{col 55}{space 4}-5.168593{col 68}{space 3} 4.244853
{txt}_Ilocation_30 {c |}{col 15}{res}{space 2} .0741476{col 27}{space 2} 3.741859{col 38}{space 1}    0.02{col 47}{space 3}0.984{col 55}{space 4}-7.279451{col 68}{space 3} 7.427746
{txt}{space 2}_Iyear_2015 {c |}{col 15}{res}{space 2} .5393521{col 27}{space 2} .7274393{col 38}{space 1}    0.74{col 47}{space 3}0.459{col 55}{space 4}-.8902306{col 68}{space 3} 1.968935
{txt}{space 2}_Iyear_2016 {c |}{col 15}{res}{space 2} .6134997{col 27}{space 2} .7215885{col 38}{space 1}    0.85{col 47}{space 3}0.396{col 55}{space 4}-.8045849{col 68}{space 3} 2.031584
{txt}{space 2}_Iyear_2017 {c |}{col 15}{res}{space 2}-.3067814{col 27}{space 2} .7462525{col 38}{space 1}   -0.41{col 47}{space 3}0.681{col 55}{space 4}-1.773336{col 68}{space 3} 1.159774
{txt}{space 2}_Iyear_2018 {c |}{col 15}{res}{space 2}-.3934959{col 27}{space 2} .7800796{col 38}{space 1}   -0.50{col 47}{space 3}0.614{col 55}{space 4}-1.926529{col 68}{space 3} 1.139537
{txt}{space 2}_Iyear_2019 {c |}{col 15}{res}{space 2}   .44179{col 27}{space 2} 1.032913{col 38}{space 1}    0.43{col 47}{space 3}0.669{col 55}{space 4}-1.588118{col 68}{space 3} 2.471698
{txt}{space 8}_cons {c |}{col 15}{res}{space 2}-.1862977{col 27}{space 2} 2.299182{col 38}{space 1}   -0.08{col 47}{space 3}0.935{col 55}{space 4} -4.70471{col 68}{space 3} 4.332114
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. margins, at (iedattack=(0 1 2 3 4 ))
{res}
{txt}{col 1}Predictive margins{col 60}{lalign 13:Number of obs}{col 73} = {res}{ralign 3:490}
{txt}{col 1}Model VCE: {res:OLS}

{txt}{p2colset 1 13 13 2}{...}
{p2col:Expression:}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{lalign 7:1._at: }{space 0}{lalign 9:iedattack} = {res:{ralign 1:0}}
{lalign 7:2._at: }{space 0}{lalign 9:iedattack} = {res:{ralign 1:1}}
{lalign 7:3._at: }{space 0}{lalign 9:iedattack} = {res:{ralign 1:2}}
{lalign 7:4._at: }{space 0}{lalign 9:iedattack} = {res:{ralign 1:3}}
{lalign 7:5._at: }{space 0}{lalign 9:iedattack} = {res:{ralign 1:4}}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2}  .593185{col 26}{space 2} .1900825{col 37}{space 1}    3.12{col 46}{space 3}0.002{col 54}{space 4} .2196298{col 67}{space 3} .9667401
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 1.472144{col 26}{space 2} .2203937{col 37}{space 1}    6.68{col 46}{space 3}0.000{col 54}{space 4} 1.039021{col 67}{space 3} 1.905268
{txt}{space 10}3  {c |}{col 14}{res}{space 2} 2.351103{col 26}{space 2} .4957426{col 37}{space 1}    4.74{col 46}{space 3}0.000{col 54}{space 4} 1.376857{col 67}{space 3}  3.32535
{txt}{space 10}4  {c |}{col 14}{res}{space 2} 3.230063{col 26}{space 2}  .792271{col 37}{space 1}    4.08{col 46}{space 3}0.000{col 54}{space 4} 1.673071{col 67}{space 3} 4.787054
{txt}{space 10}5  {c |}{col 14}{res}{space 2} 4.109022{col 26}{space 2} 1.092873{col 37}{space 1}    3.76{col 46}{space 3}0.000{col 54}{space 4} 1.961279{col 67}{space 3} 6.256764
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot     
{res}
{text}{p 0 0 2}Variables that uniquely identify margins: {bf:iedattack}{p_end}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\UN_AMISOM_data.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. foreach var of varlist dur   age male edu rank married prevAU_UN mil_ops pre_dep {c -(} 
{txt}  2{com}.                         eststo: reg `var' ehthiopiaamisomdummy,robust
{txt}  3{com}.                            esttab using "Balance_eth_ssudan.rtf", replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) ti("Balance - Ethiopians in AMISOM vs South Sudan") addnotes("(p-values are for two-sided tests.)") mtitles("Dur.""Age"  "Sex"  "Edu." "Rnk"  "Marry"  "Prev. AMISOM/UN" "Pre Dep. Trng.")
{txt}  4{com}.                         {c )-}

{txt}Linear regression                               Number of obs     = {res}       296
                                                {txt}F(1, 294)         =  {res}   142.65
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2130
                                                {txt}Root MSE          =    {res} .58885

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}           duration{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2} .6368421{col 33}{space 2} .0533206{col 44}{space 1}   11.94{col 53}{space 3}0.000{col 61}{space 4} .5319036{col 74}{space 3} .7417806
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}        1{col 33}{space 2} 3.39e-09{col 44}{space 1} 2.9e+08{col 53}{space 3}0.000{col 61}{space 4}        1{col 74}{space 3}        1
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       296
                                                {txt}F(1, 294)         =  {res}     7.81
                                                {txt}Prob > F          = {res}    0.0055
                                                {txt}R-squared         = {res}    0.0238
                                                {txt}Root MSE          =    {res} 7.8314

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}                age{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-2.540814{col 33}{space 2} .9092006{col 44}{space 1}   -2.79{col 53}{space 3}0.006{col 61}{space 4}-4.330181{col 74}{space 3}-.7514479
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}  36.5566{col 33}{space 2} .6856257{col 44}{space 1}   53.32{col 53}{space 3}0.000{col 61}{space 4} 35.20725{col 74}{space 3} 37.90596
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       291
                                                {txt}F(1, 289)         =  {res}     1.99
                                                {txt}Prob > F          = {res}    0.1592
                                                {txt}R-squared         = {res}    0.0051
                                                {txt}Root MSE          =    {res} .15336

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}               male{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-.0227343{col 33}{space 2} .0161077{col 44}{space 1}   -1.41{col 53}{space 3}0.159{col 61}{space 4}-.0544375{col 74}{space 3}  .008969
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .9904762{col 33}{space 2} .0095111{col 44}{space 1}  104.14{col 53}{space 3}0.000{col 61}{space 4} .9717564{col 74}{space 3} 1.009196
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       296
                                                {txt}F(1, 294)         =  {res}     6.55
                                                {txt}Prob > F          = {res}    0.0110
                                                {txt}R-squared         = {res}    0.0207
                                                {txt}Root MSE          =    {res} .74976

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}          education{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-.2263158{col 33}{space 2} .0884219{col 44}{space 1}   -2.56{col 53}{space 3}0.011{col 61}{space 4} -.400336{col 74}{space 3}-.0522956
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}        3{col 33}{space 2} .0682603{col 44}{space 1}   43.95{col 53}{space 3}0.000{col 61}{space 4} 2.865659{col 74}{space 3} 3.134341
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       295
                                                {txt}F(1, 293)         =  {res}    32.84
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0896
                                                {txt}Root MSE          =    {res} .94902

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}               rank{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}  .618249{col 33}{space 2} .1078888{col 44}{space 1}    5.73{col 53}{space 3}0.000{col 61}{space 4} .4059138{col 74}{space 3} .8305842
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} 1.471698{col 33}{space 2} .0782974{col 44}{space 1}   18.80{col 53}{space 3}0.000{col 61}{space 4} 1.317602{col 74}{space 3} 1.625795
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       296
                                                {txt}F(1, 294)         =  {res}     0.87
                                                {txt}Prob > F          = {res}    0.3508
                                                {txt}R-squared         = {res}    0.0030
                                                {txt}Root MSE          =    {res} .50055

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}            married{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-.0566038{col 33}{space 2}  .060571{col 44}{space 1}   -0.93{col 53}{space 3}0.351{col 61}{space 4}-.1758114{col 74}{space 3} .0626039
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .5566038{col 33}{space 2} .0484159{col 44}{space 1}   11.50{col 53}{space 3}0.000{col 61}{space 4}  .461318{col 74}{space 3} .6518895
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       296
                                                {txt}F(1, 294)         =  {res}     0.73
                                                {txt}Prob > F          = {res}    0.3943
                                                {txt}R-squared         = {res}    0.0026
                                                {txt}Root MSE          =    {res} .41935

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}          prevAU_UN{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-.0441907{col 33}{space 2} .0518055{col 44}{space 1}   -0.85{col 53}{space 3}0.394{col 61}{space 4}-.1461472{col 74}{space 3} .0577659
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}  .254717{col 33}{space 2} .0424628{col 44}{space 1}    6.00{col 53}{space 3}0.000{col 61}{space 4} .1711474{col 74}{space 3} .3382866
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       293
                                                {txt}F(1, 291)         =  {res}     3.63
                                                {txt}Prob > F          = {res}    0.0578
                                                {txt}R-squared         = {res}    0.0107
                                                {txt}Root MSE          =    {res} .35318

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}            mil_ops{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2} .0765968{col 33}{space 2} .0402179{col 44}{space 1}    1.90{col 53}{space 3}0.058{col 61}{space 4} -.002558{col 74}{space 3} .1557517
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .0970874{col 33}{space 2} .0292734{col 44}{space 1}    3.32{col 53}{space 3}0.001{col 61}{space 4}  .039473{col 74}{space 3} .1547018
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est8{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

Linear regression                               Number of obs     = {res}       282
                                                {txt}F(1, 280)         =  {res}     2.86
                                                {txt}Prob > F          = {res}    0.0917
                                                {txt}R-squared         = {res}    0.0092
                                                {txt}Root MSE          =    {res} .74333

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}            pre_dep{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      t{col 53}   P>|t|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
ehthiopiaamisomdu~y {c |}{col 21}{res}{space 2}-.1486142{col 33}{space 2}  .087807{col 44}{space 1}   -1.69{col 53}{space 3}0.092{col 61}{space 4}-.3214599{col 74}{space 3} .0242315
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} 1.718447{col 33}{space 2} .0652404{col 44}{space 1}   26.34{col 53}{space 3}0.000{col 61}{space 4} 1.590023{col 74}{space 3} 1.846871
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est9{txt} stored)
{res}{txt}(output written to {browse  `"Balance_eth_ssudan.rtf"'})

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\ConvoyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. preserve
{txt}
{com}. collapse  (sum) armouredvehoftotalnoofvehicles numberofvehicles ied, by(date)
{res}{txt}
{com}. gen con_str= armouredvehoftotalnoofvehicles/numberofvehicles
{txt}
{com}. twoway bar con_str ied date, ///
> xtitle("") ytitle("Convoy strength in ratio (0-1) and IED attacks")  ///
> xlabel(#15, angle(45)) ///
>  lcolor(blue red) ///
> legend(order(1 2) label(1 "convoy strength ration (0-1)") label(2 "ied attacks (0-3)") position(6) cols(2))
{res}{txt}
{com}. restore
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
{txt}end of do-file

{com}. use "C:\Users\prabin\Desktop\AMISOM ISQ Replication\SurveyData.dta"

. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. 
. global controls duration age male edu rank married prevAU_UN mil_ops pre_dep  i.dist    
{txt}
{com}. 
. 
. eststo clear
{txt}
{com}. reg index_humanrights ied_face ${c -(}controls{c )-} if TCC!="Burundi", cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       253
                                                {txt}{help j_robustsingular:F(15, 24) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2788
                                                {txt}Root MSE          =    {res}  .7793

{txt}{ralign 78:(Std. err. adjusted for {res:25} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.1734682{col 26}{space 2}   .08249{col 37}{space 1}   -2.10{col 46}{space 3}0.046{col 54}{space 4}-.3437192{col 67}{space 3}-.0032171
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.0718845{col 26}{space 2} .0948966{col 37}{space 1}   -0.76{col 46}{space 3}0.456{col 54}{space 4}-.2677414{col 67}{space 3} .1239723
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0077929{col 26}{space 2} .0099252{col 37}{space 1}   -0.79{col 46}{space 3}0.440{col 54}{space 4}-.0282775{col 67}{space 3} .0126918
{txt}{space 8}male {c |}{col 14}{res}{space 2} .2671115{col 26}{space 2} .0830889{col 37}{space 1}    3.21{col 46}{space 3}0.004{col 54}{space 4} .0956245{col 67}{space 3} .4385985
{txt}{space 3}education {c |}{col 14}{res}{space 2}-.0057578{col 26}{space 2} .1054341{col 37}{space 1}   -0.05{col 46}{space 3}0.957{col 54}{space 4}-.2233631{col 67}{space 3} .2118474
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0031402{col 26}{space 2} .0893494{col 37}{space 1}   -0.04{col 46}{space 3}0.972{col 54}{space 4}-.1875484{col 67}{space 3} .1812679
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.0451115{col 26}{space 2} .1166571{col 37}{space 1}   -0.39{col 46}{space 3}0.702{col 54}{space 4}-.2858799{col 67}{space 3}  .195657
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.1468262{col 26}{space 2} .0876615{col 37}{space 1}   -1.67{col 46}{space 3}0.107{col 54}{space 4}-.3277506{col 67}{space 3} .0340982
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .1073645{col 26}{space 2} .1268895{col 37}{space 1}    0.85{col 46}{space 3}0.406{col 54}{space 4}-.1545224{col 67}{space 3} .3692515
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.2567936{col 26}{space 2}  .263965{col 37}{space 1}   -0.97{col 46}{space 3}0.340{col 54}{space 4}-.8015905{col 67}{space 3} .2880033
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2}  .723973{col 26}{space 2} .1283366{col 37}{space 1}    5.64{col 46}{space 3}0.000{col 54}{space 4} .4590993{col 67}{space 3} .9888467
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .7063785{col 26}{space 2} .3440138{col 37}{space 1}    2.05{col 46}{space 3}0.051{col 54}{space 4}-.0036311{col 67}{space 3} 1.416388
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .1192759{col 26}{space 2} .1532917{col 37}{space 1}    0.78{col 46}{space 3}0.444{col 54}{space 4}-.1971028{col 67}{space 3} .4356545
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2}  .120911{col 26}{space 2} .1488212{col 37}{space 1}    0.81{col 46}{space 3}0.425{col 54}{space 4}-.1862409{col 67}{space 3} .4280629
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .9809267{col 26}{space 2} .1485016{col 37}{space 1}    6.61{col 46}{space 3}0.000{col 54}{space 4} .6744344{col 67}{space 3} 1.287419
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .4469078{col 26}{space 2} .4024203{col 37}{space 1}    1.11{col 46}{space 3}0.278{col 54}{space 4} -.383647{col 67}{space 3} 1.277463
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.0539082{col 26}{space 2} .2467195{col 37}{space 1}   -0.22{col 46}{space 3}0.829{col 54}{space 4}-.5631122{col 67}{space 3} .4552959
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.112947{col 26}{space 2} .2184798{col 37}{space 1}    5.09{col 46}{space 3}0.000{col 54}{space 4} .6620273{col 67}{space 3} 1.563868
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .6676592{col 26}{space 2} .1825846{col 37}{space 1}    3.66{col 46}{space 3}0.001{col 54}{space 4}  .290823{col 67}{space 3} 1.044495
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .5352101{col 26}{space 2} .2878241{col 37}{space 1}    1.86{col 46}{space 3}0.075{col 54}{space 4}-.0588295{col 67}{space 3}  1.12925
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} -.029592{col 26}{space 2} .5293368{col 37}{space 1}   -0.06{col 46}{space 3}0.956{col 54}{space 4}-1.122089{col 67}{space 3} 1.062906
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store iedface_nobur
{txt}
{com}. reg index_humanrights  ied_face  ${c -(}controls{c )-} if TCC!="Kenya",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       285
                                                {txt}{help j_robustsingular:F(15, 23) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2310
                                                {txt}Root MSE          =    {res} .83247

{txt}{ralign 78:(Std. err. adjusted for {res:24} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.1998158{col 26}{space 2} .1321873{col 37}{space 1}   -1.51{col 46}{space 3}0.144{col 54}{space 4}-.4732662{col 67}{space 3} .0736345
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.0832232{col 26}{space 2} .0963809{col 37}{space 1}   -0.86{col 46}{space 3}0.397{col 54}{space 4}-.2826022{col 67}{space 3} .1161558
{txt}{space 9}age {c |}{col 14}{res}{space 2} .0046895{col 26}{space 2} .0057973{col 37}{space 1}    0.81{col 46}{space 3}0.427{col 54}{space 4}-.0073031{col 67}{space 3}  .016682
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.2371142{col 26}{space 2} .4340875{col 37}{space 1}   -0.55{col 46}{space 3}0.590{col 54}{space 4}-1.135093{col 67}{space 3} .6608643
{txt}{space 3}education {c |}{col 14}{res}{space 2} .1728994{col 26}{space 2} .0701821{col 37}{space 1}    2.46{col 46}{space 3}0.022{col 54}{space 4} .0277165{col 67}{space 3} .3180822
{txt}{space 8}rank {c |}{col 14}{res}{space 2} -.110908{col 26}{space 2} .0557499{col 37}{space 1}   -1.99{col 46}{space 3}0.059{col 54}{space 4}-.2262353{col 67}{space 3} .0044194
{txt}{space 5}married {c |}{col 14}{res}{space 2}-.1618901{col 26}{space 2} .0803636{col 37}{space 1}   -2.01{col 46}{space 3}0.056{col 54}{space 4}-.3281349{col 67}{space 3} .0043548
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.3996841{col 26}{space 2} .1296063{col 37}{space 1}   -3.08{col 46}{space 3}0.005{col 54}{space 4}-.6677951{col 67}{space 3}-.1315731
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0305852{col 26}{space 2} .1582889{col 37}{space 1}    0.19{col 46}{space 3}0.848{col 54}{space 4}-.2968604{col 67}{space 3} .3580308
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.2582845{col 26}{space 2} .1967967{col 37}{space 1}   -1.31{col 46}{space 3}0.202{col 54}{space 4}-.6653894{col 67}{space 3} .1488204
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .5733954{col 26}{space 2} .1599953{col 37}{space 1}    3.58{col 46}{space 3}0.002{col 54}{space 4}   .24242{col 67}{space 3} .9043708
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .7926524{col 26}{space 2}  .348149{col 37}{space 1}    2.28{col 46}{space 3}0.032{col 54}{space 4} .0724514{col 67}{space 3} 1.512853
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .9179285{col 26}{space 2} .1853604{col 37}{space 1}    4.95{col 46}{space 3}0.000{col 54}{space 4} .5344813{col 67}{space 3} 1.301376
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .4016335{col 26}{space 2} .4203358{col 37}{space 1}    0.96{col 46}{space 3}0.349{col 54}{space 4}-.4678974{col 67}{space 3} 1.271164
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2} .0182289{col 26}{space 2} .2827209{col 37}{space 1}    0.06{col 46}{space 3}0.949{col 54}{space 4}-.5666238{col 67}{space 3} .6030816
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} .8453738{col 26}{space 2} .2004085{col 37}{space 1}    4.22{col 46}{space 3}0.000{col 54}{space 4} .4307972{col 67}{space 3}  1.25995
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .4890125{col 26}{space 2} .1905557{col 37}{space 1}    2.57{col 46}{space 3}0.017{col 54}{space 4}  .094818{col 67}{space 3}  .883207
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .7404697{col 26}{space 2} .1937709{col 37}{space 1}    3.82{col 46}{space 3}0.001{col 54}{space 4} .3396242{col 67}{space 3} 1.141315
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .4348704{col 26}{space 2} .3211528{col 37}{space 1}    1.35{col 46}{space 3}0.189{col 54}{space 4}-.2294848{col 67}{space 3} 1.099226
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.0033848{col 26}{space 2}  .529658{col 37}{space 1}   -0.01{col 46}{space 3}0.995{col 54}{space 4}-1.099066{col 67}{space 3} 1.092296
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store iedface_noken   
{txt}
{com}. estimates store iedface_noken   
{txt}
{com}. reg index_humanrights  ied_face  ${c -(}controls{c )-} if TCC!="Ethiopia",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       269
                                                {txt}{help j_robustsingular:F(16, 24) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1246
                                                {txt}Root MSE          =    {res} .86041

{txt}{ralign 78:(Std. err. adjusted for {res:25} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.2026036{col 26}{space 2} .1133315{col 37}{space 1}   -1.79{col 46}{space 3}0.086{col 54}{space 4}-.4365083{col 67}{space 3}  .031301
{txt}{space 4}duration {c |}{col 14}{res}{space 2}-.0657422{col 26}{space 2} .0824775{col 37}{space 1}   -0.80{col 46}{space 3}0.433{col 54}{space 4}-.2359675{col 67}{space 3} .1044831
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0042466{col 26}{space 2} .0082197{col 37}{space 1}   -0.52{col 46}{space 3}0.610{col 54}{space 4}-.0212112{col 67}{space 3}  .012718
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.5305698{col 26}{space 2} .5982839{col 37}{space 1}   -0.89{col 46}{space 3}0.384{col 54}{space 4}-1.765367{col 67}{space 3} .7042275
{txt}{space 3}education {c |}{col 14}{res}{space 2} .0484069{col 26}{space 2}  .080103{col 37}{space 1}    0.60{col 46}{space 3}0.551{col 54}{space 4}-.1169175{col 67}{space 3} .2137314
{txt}{space 8}rank {c |}{col 14}{res}{space 2} .0017699{col 26}{space 2} .0703502{col 37}{space 1}    0.03{col 46}{space 3}0.980{col 54}{space 4}-.1434259{col 67}{space 3} .1469656
{txt}{space 5}married {c |}{col 14}{res}{space 2} -.106956{col 26}{space 2} .1371039{col 37}{space 1}   -0.78{col 46}{space 3}0.443{col 54}{space 4}-.3899244{col 67}{space 3} .1760125
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.1010995{col 26}{space 2} .0938032{col 37}{space 1}   -1.08{col 46}{space 3}0.292{col 54}{space 4}-.2946998{col 67}{space 3} .0925009
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .0316407{col 26}{space 2} .1197953{col 37}{space 1}    0.26{col 46}{space 3}0.794{col 54}{space 4}-.2156046{col 67}{space 3} .2788861
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.5013753{col 26}{space 2} .2830897{col 37}{space 1}   -1.77{col 46}{space 3}0.089{col 54}{space 4}-1.085644{col 67}{space 3}  .082893
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}Qoryooley  {c |}{col 14}{res}{space 2} .7027668{col 26}{space 2} .1300546{col 37}{space 1}    5.40{col 46}{space 3}0.000{col 54}{space 4} .4343473{col 67}{space 3} .9711864
{txt}{space 4}afgooye  {c |}{col 14}{res}{space 2} .7391916{col 26}{space 2} .3431021{col 37}{space 1}    2.15{col 46}{space 3}0.041{col 54}{space 4} .0310638{col 67}{space 3} 1.447319
{txt}{space 4}afmadow  {c |}{col 14}{res}{space 2} .1131443{col 26}{space 2}  .162976{col 37}{space 1}    0.69{col 46}{space 3}0.494{col 54}{space 4}-.2232216{col 67}{space 3} .4495102
{txt}{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .0187798{col 26}{space 2} .1186697{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4}-.2261424{col 67}{space 3}  .263702
{txt}{space 4}banadir  {c |}{col 14}{res}{space 2} .3880528{col 26}{space 2} .3969528{col 37}{space 1}    0.98{col 46}{space 3}0.338{col 54}{space 4}-.4312174{col 67}{space 3} 1.207323
{txt}{space 4}baraawe  {c |}{col 14}{res}{space 2}-.0023118{col 26}{space 2} .2527415{col 37}{space 1}   -0.01{col 46}{space 3}0.993{col 54}{space 4}-.5239445{col 67}{space 3}  .519321
{txt}{space 6}johar  {c |}{col 14}{res}{space 2}  .537113{col 26}{space 2} .1660688{col 37}{space 1}    3.23{col 46}{space 3}0.004{col 54}{space 4} .1943638{col 67}{space 3} .8798621
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .0602974{col 26}{space 2} .1712776{col 37}{space 1}    0.35{col 46}{space 3}0.728{col 54}{space 4}-.2932021{col 67}{space 3} .4137969
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .7899574{col 26}{space 2} .6539521{col 37}{space 1}    1.21{col 46}{space 3}0.239{col 54}{space 4}-.5597334{col 67}{space 3} 2.139648
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store iedface_noeth
{txt}
{com}. reg index_humanrights  ied_face  ${c -(}controls{c )-} if TCC!="Uganda",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       288
                                                {txt}{help j_robustsingular:F(11, 12) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2373
                                                {txt}Root MSE          =    {res} .80587

{txt}{ralign 78:(Std. err. adjusted for {res:13} clusters in {res:fob1})}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}index_huma~s{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}ied_face {c |}{col 14}{res}{space 2}-.1955838{col 26}{space 2} .0971648{col 37}{space 1}   -2.01{col 46}{space 3}0.067{col 54}{space 4}-.4072876{col 67}{space 3} .0161201
{txt}{space 4}duration {c |}{col 14}{res}{space 2} .0593864{col 26}{space 2}  .108016{col 37}{space 1}    0.55{col 46}{space 3}0.593{col 54}{space 4}-.1759602{col 67}{space 3}  .294733
{txt}{space 9}age {c |}{col 14}{res}{space 2}-.0120538{col 26}{space 2} .0076863{col 37}{space 1}   -1.57{col 46}{space 3}0.143{col 54}{space 4}-.0288009{col 67}{space 3} .0046933
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0486777{col 26}{space 2} .3510154{col 37}{space 1}   -0.14{col 46}{space 3}0.892{col 54}{space 4}-.8134745{col 67}{space 3}  .716119
{txt}{space 3}education {c |}{col 14}{res}{space 2} .1944669{col 26}{space 2} .0684836{col 37}{space 1}    2.84{col 46}{space 3}0.015{col 54}{space 4} .0452539{col 67}{space 3} .3436799
{txt}{space 8}rank {c |}{col 14}{res}{space 2}-.0693205{col 26}{space 2} .0649246{col 37}{space 1}   -1.07{col 46}{space 3}0.307{col 54}{space 4}-.2107789{col 67}{space 3}  .072138
{txt}{space 5}married {c |}{col 14}{res}{space 2} .0168465{col 26}{space 2} .0882872{col 37}{space 1}    0.19{col 46}{space 3}0.852{col 54}{space 4}-.1755147{col 67}{space 3} .2092077
{txt}{space 3}prevAU_UN {c |}{col 14}{res}{space 2}-.3451944{col 26}{space 2} .1316534{col 37}{space 1}   -2.62{col 46}{space 3}0.022{col 54}{space 4}-.6320425{col 67}{space 3}-.0583463
{txt}{space 5}mil_ops {c |}{col 14}{res}{space 2} .1104056{col 26}{space 2} .1151508{col 37}{space 1}    0.96{col 46}{space 3}0.357{col 54}{space 4}-.1404865{col 67}{space 3} .3612977
{txt}{space 5}pre_dep {c |}{col 14}{res}{space 2}-.2777867{col 26}{space 2} .1216762{col 37}{space 1}   -2.28{col 46}{space 3}0.041{col 54}{space 4}-.5428965{col 67}{space 3} -.012677
{txt}{space 12} {c |}
{space 8}dist {c |}
{space 2}badhaadhe  {c |}{col 14}{res}{space 2} .0711622{col 26}{space 2} .1468661{col 37}{space 1}    0.48{col 46}{space 3}0.637{col 54}{space 4}-.2488315{col 67}{space 3} .3911559
{txt}{space 5}baidoa  {c |}{col 14}{res}{space 2} .9352851{col 26}{space 2}  .192418{col 37}{space 1}    4.86{col 46}{space 3}0.000{col 54}{space 4} .5160423{col 67}{space 3} 1.354528
{txt}{space 1}bulo burto  {c |}{col 14}{res}{space 2} 1.116739{col 26}{space 2} .2764109{col 37}{space 1}    4.04{col 46}{space 3}0.002{col 54}{space 4}  .514491{col 67}{space 3} 1.718986
{txt}{space 5}hiraan  {c |}{col 14}{res}{space 2} .7139344{col 26}{space 2} .2720421{col 37}{space 1}    2.62{col 46}{space 3}0.022{col 54}{space 4} .1212055{col 67}{space 3} 1.306663
{txt}{space 6}johar  {c |}{col 14}{res}{space 2} .7776707{col 26}{space 2} .2085295{col 37}{space 1}    3.73{col 46}{space 3}0.003{col 54}{space 4} .3233239{col 67}{space 3} 1.232017
{txt}{space 4}kismayo  {c |}{col 14}{res}{space 2} .2298004{col 26}{space 2} .2163075{col 37}{space 1}    1.06{col 46}{space 3}0.309{col 54}{space 4} -.241493{col 67}{space 3} .7010939
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.1815521{col 26}{space 2} .6373933{col 37}{space 1}   -0.28{col 46}{space 3}0.781{col 54}{space 4}-1.570313{col 67}{space 3} 1.207209
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store iedface_noug    
{txt}
{com}. 
. eststo clear
{txt}
{com}. eststo:reg index_humanrights  totaliedsincearvl  ${c -(}controls{c )-} if TCC!="Burundi",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       252
                                                {txt}{help j_robustsingular:F(15, 24) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2782
                                                {txt}Root MSE          =    {res} .78109

{txt}{ralign 83:(Std. err. adjusted for {res:25} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0234321{col 31}{space 2} .0100256{col 42}{space 1}   -2.34{col 51}{space 3}0.028{col 59}{space 4}-.0441238{col 72}{space 3}-.0027403
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0027778{col 31}{space 2} .1026884{col 42}{space 1}    0.03{col 51}{space 3}0.979{col 59}{space 4}-.2091606{col 72}{space 3} .2147163
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0073841{col 31}{space 2} .0107126{col 42}{space 1}   -0.69{col 51}{space 3}0.497{col 59}{space 4}-.0294938{col 72}{space 3} .0147256
{txt}{space 13}male {c |}{col 19}{res}{space 2}  .275157{col 31}{space 2} .0802085{col 42}{space 1}    3.43{col 51}{space 3}0.002{col 59}{space 4} .1096148{col 72}{space 3} .4406992
{txt}{space 8}education {c |}{col 19}{res}{space 2}-.0079886{col 31}{space 2} .1076388{col 42}{space 1}   -0.07{col 51}{space 3}0.941{col 59}{space 4}-.2301441{col 72}{space 3} .2141669
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0075078{col 31}{space 2} .0872888{col 42}{space 1}   -0.09{col 51}{space 3}0.932{col 59}{space 4} -.187663{col 72}{space 3} .1726474
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.0386089{col 31}{space 2} .1225647{col 42}{space 1}   -0.32{col 51}{space 3}0.755{col 59}{space 4}-.2915701{col 72}{space 3} .2143522
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.1614927{col 31}{space 2} .0884219{col 42}{space 1}   -1.83{col 51}{space 3}0.080{col 59}{space 4}-.3439866{col 72}{space 3} .0210012
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .1112767{col 31}{space 2} .1266681{col 42}{space 1}    0.88{col 51}{space 3}0.388{col 59}{space 4}-.1501535{col 72}{space 3} .3727069
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.2580674{col 31}{space 2} .2697589{col 42}{space 1}   -0.96{col 51}{space 3}0.348{col 59}{space 4}-.8148225{col 72}{space 3} .2986876
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .5261366{col 31}{space 2} .1514708{col 42}{space 1}    3.47{col 51}{space 3}0.002{col 59}{space 4} .2135162{col 72}{space 3} .8387569
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7503014{col 31}{space 2} .1852978{col 42}{space 1}    4.05{col 51}{space 3}0.000{col 59}{space 4} .3678655{col 72}{space 3} 1.132737
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2} -.161634{col 31}{space 2} .2158915{col 42}{space 1}   -0.75{col 51}{space 3}0.461{col 59}{space 4}-.6072122{col 72}{space 3} .2839443
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.0308241{col 31}{space 2} .1771392{col 42}{space 1}   -0.17{col 51}{space 3}0.863{col 59}{space 4}-.3964214{col 72}{space 3} .3347733
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2}  .910287{col 31}{space 2} .1598865{col 42}{space 1}    5.69{col 51}{space 3}0.000{col 59}{space 4} .5802976{col 72}{space 3} 1.240276
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .2164159{col 31}{space 2} .4221733{col 42}{space 1}    0.51{col 51}{space 3}0.613{col 59}{space 4} -.654907{col 72}{space 3} 1.087739
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1812199{col 31}{space 2}  .235128{col 42}{space 1}   -0.77{col 51}{space 3}0.448{col 59}{space 4}-.6665003{col 72}{space 3} .3040605
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} 1.044502{col 31}{space 2} .2263036{col 42}{space 1}    4.62{col 51}{space 3}0.000{col 59}{space 4}  .577434{col 72}{space 3} 1.511569
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .6657687{col 31}{space 2} .1794519{col 42}{space 1}    3.71{col 51}{space 3}0.001{col 59}{space 4} .2953981{col 72}{space 3} 1.036139
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .3681344{col 31}{space 2} .2888985{col 42}{space 1}    1.27{col 51}{space 3}0.215{col 59}{space 4}-.2281227{col 72}{space 3} .9643915
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0488337{col 31}{space 2} .5308282{col 42}{space 1}   -0.09{col 51}{space 3}0.927{col 59}{space 4}-1.144409{col 72}{space 3} 1.046742
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store index_nobur
{txt}
{com}. eststo:reg index_humanrights  totaliedsincearvl  ${c -(}controls{c )-} if TCC!="Kenya",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       285
                                                {txt}{help j_robustsingular:F(15, 23) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2333
                                                {txt}Root MSE          =    {res} .83119

{txt}{ralign 83:(Std. err. adjusted for {res:24} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0276564{col 31}{space 2} .0085623{col 42}{space 1}   -3.23{col 51}{space 3}0.004{col 59}{space 4}-.0453688{col 72}{space 3}-.0099439
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0148102{col 31}{space 2} .0948473{col 42}{space 1}    0.16{col 51}{space 3}0.877{col 59}{space 4}-.1813965{col 72}{space 3} .2110168
{txt}{space 14}age {c |}{col 19}{res}{space 2} .0044276{col 31}{space 2} .0061003{col 42}{space 1}    0.73{col 51}{space 3}0.475{col 59}{space 4}-.0081918{col 72}{space 3} .0170471
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.2302789{col 31}{space 2} .4443931{col 42}{space 1}   -0.52{col 51}{space 3}0.609{col 59}{space 4}-1.149576{col 72}{space 3} .6890183
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1656738{col 31}{space 2} .0717465{col 42}{space 1}    2.31{col 51}{space 3}0.030{col 59}{space 4} .0172548{col 72}{space 3} .3140928
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.1103875{col 31}{space 2} .0479712{col 42}{space 1}   -2.30{col 51}{space 3}0.031{col 59}{space 4}-.2096235{col 72}{space 3}-.0111515
{txt}{space 10}married {c |}{col 19}{res}{space 2}-.1575477{col 31}{space 2}   .08218{col 42}{space 1}   -1.92{col 51}{space 3}0.068{col 59}{space 4}-.3275501{col 72}{space 3} .0124547
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.3952759{col 31}{space 2} .1233242{col 42}{space 1}   -3.21{col 51}{space 3}0.004{col 59}{space 4}-.6503914{col 72}{space 3}-.1401604
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0333633{col 31}{space 2} .1446601{col 42}{space 1}    0.23{col 51}{space 3}0.820{col 59}{space 4}-.2658889{col 72}{space 3} .3326155
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.2690435{col 31}{space 2} .2038304{col 42}{space 1}   -1.32{col 51}{space 3}0.200{col 59}{space 4}-.6906987{col 72}{space 3} .1526118
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .3499575{col 31}{space 2}   .14013{col 42}{space 1}    2.50{col 51}{space 3}0.020{col 59}{space 4} .0600764{col 72}{space 3} .6398385
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .8413047{col 31}{space 2} .1660938{col 42}{space 1}    5.07{col 51}{space 3}0.000{col 59}{space 4} .4977134{col 72}{space 3} 1.184896
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2}  .833952{col 31}{space 2} .1760848{col 42}{space 1}    4.74{col 51}{space 3}0.000{col 59}{space 4} .4696929{col 72}{space 3} 1.198211
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1322034{col 31}{space 2} .4288786{col 42}{space 1}    0.31{col 51}{space 3}0.761{col 59}{space 4}-.7549995{col 72}{space 3} 1.019406
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1284238{col 31}{space 2} .2607081{col 42}{space 1}   -0.49{col 51}{space 3}0.627{col 59}{space 4}-.6677396{col 72}{space 3} .4108921
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} .7805361{col 31}{space 2} .1989051{col 42}{space 1}    3.92{col 51}{space 3}0.001{col 59}{space 4} .3690696{col 72}{space 3} 1.192003
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} .4984706{col 31}{space 2} .1838156{col 42}{space 1}    2.71{col 51}{space 3}0.012{col 59}{space 4}  .118219{col 72}{space 3} .8787222
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .5694785{col 31}{space 2} .1839776{col 42}{space 1}    3.10{col 51}{space 3}0.005{col 59}{space 4} .1888917{col 72}{space 3} .9500652
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .2668037{col 31}{space 2} .2883777{col 42}{space 1}    0.93{col 51}{space 3}0.364{col 59}{space 4}-.3297509{col 72}{space 3} .8633583
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0089652{col 31}{space 2} .5873302{col 42}{space 1}   -0.02{col 51}{space 3}0.988{col 59}{space 4} -1.22395{col 72}{space 3}  1.20602
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store index_noken
{txt}
{com}. eststo:reg index_humanrights  totaliedsincearvl  ${c -(}controls{c )-} if TCC!="Ethiopia",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       268
                                                {txt}{help j_robustsingular:F(16, 24) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1247
                                                {txt}Root MSE          =    {res} .86201

{txt}{ralign 83:(Std. err. adjusted for {res:25} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0257943{col 31}{space 2}  .009753{col 42}{space 1}   -2.64{col 51}{space 3}0.014{col 59}{space 4}-.0459234{col 72}{space 3}-.0056651
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .0142126{col 31}{space 2} .0898033{col 42}{space 1}    0.16{col 51}{space 3}0.876{col 59}{space 4}-.1711323{col 72}{space 3} .1995576
{txt}{space 14}age {c |}{col 19}{res}{space 2} -.005392{col 31}{space 2} .0083861{col 42}{space 1}   -0.64{col 51}{space 3}0.526{col 59}{space 4}-.0227001{col 72}{space 3} .0119161
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.5243521{col 31}{space 2} .6091287{col 42}{space 1}   -0.86{col 51}{space 3}0.398{col 59}{space 4}-1.781532{col 72}{space 3} .7328276
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0405116{col 31}{space 2} .0813791{col 42}{space 1}    0.50{col 51}{space 3}0.623{col 59}{space 4}-.1274467{col 72}{space 3} .2084699
{txt}{space 13}rank {c |}{col 19}{res}{space 2} .0042871{col 31}{space 2} .0655089{col 42}{space 1}    0.07{col 51}{space 3}0.948{col 59}{space 4}-.1309167{col 72}{space 3} .1394909
{txt}{space 10}married {c |}{col 19}{res}{space 2} -.092765{col 31}{space 2} .1353811{col 42}{space 1}   -0.69{col 51}{space 3}0.500{col 59}{space 4}-.3721778{col 72}{space 3} .1866479
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.1121102{col 31}{space 2} .0924637{col 42}{space 1}   -1.21{col 51}{space 3}0.237{col 59}{space 4}-.3029459{col 72}{space 3} .0787255
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .0267861{col 31}{space 2} .1128638{col 42}{space 1}    0.24{col 51}{space 3}0.814{col 59}{space 4}-.2061535{col 72}{space 3} .2597256
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.5326182{col 31}{space 2} .2903747{col 42}{space 1}   -1.83{col 51}{space 3}0.079{col 59}{space 4}-1.131922{col 72}{space 3} .0666857
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}Qoryooley  {c |}{col 19}{res}{space 2} .4837045{col 31}{space 2} .1337658{col 42}{space 1}    3.62{col 51}{space 3}0.001{col 59}{space 4} .2076256{col 72}{space 3} .7597834
{txt}{space 9}afgooye  {c |}{col 19}{res}{space 2} .7933265{col 31}{space 2} .1659235{col 42}{space 1}    4.78{col 51}{space 3}0.000{col 59}{space 4} .4508772{col 72}{space 3} 1.135776
{txt}{space 9}afmadow  {c |}{col 19}{res}{space 2}-.1968498{col 31}{space 2} .2049913{col 42}{space 1}   -0.96{col 51}{space 3}0.346{col 59}{space 4} -.619931{col 72}{space 3} .2262314
{txt}{space 7}badhaadhe  {c |}{col 19}{res}{space 2}-.1559734{col 31}{space 2} .1503072{col 42}{space 1}   -1.04{col 51}{space 3}0.310{col 59}{space 4}-.4661921{col 72}{space 3} .1542453
{txt}{space 9}banadir  {c |}{col 19}{res}{space 2} .1355853{col 31}{space 2} .4191521{col 42}{space 1}    0.32{col 51}{space 3}0.749{col 59}{space 4} -.729502{col 72}{space 3} 1.000673
{txt}{space 9}baraawe  {c |}{col 19}{res}{space 2}-.1488311{col 31}{space 2} .2365483{col 42}{space 1}   -0.63{col 51}{space 3}0.535{col 59}{space 4}-.6370429{col 72}{space 3} .3393807
{txt}{space 11}johar  {c |}{col 19}{res}{space 2}  .379962{col 31}{space 2} .1699257{col 42}{space 1}    2.24{col 51}{space 3}0.035{col 59}{space 4} .0292525{col 72}{space 3} .7306715
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2}-.0963161{col 31}{space 2} .1787031{col 42}{space 1}   -0.54{col 51}{space 3}0.595{col 59}{space 4}-.4651411{col 72}{space 3} .2725089
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .8535358{col 31}{space 2}  .695994{col 42}{space 1}    1.23{col 51}{space 3}0.232{col 59}{space 4}-.5829251{col 72}{space 3} 2.289997
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store index_noeth
{txt}
{com}. eststo:reg index_humanrights  totaliedsincearvl  ${c -(}controls{c )-} if TCC!="Uganda",cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       287
                                                {txt}{help j_robustsingular:F(11, 12) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2340
                                                {txt}Root MSE          =    {res} .80884

{txt}{ralign 83:(Std. err. adjusted for {res:13} clusters in {res:fob1})}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}index_humanrights{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
totaliedsincearvl {c |}{col 19}{res}{space 2}-.0377431{col 31}{space 2} .0178616{col 42}{space 1}   -2.11{col 51}{space 3}0.056{col 59}{space 4}-.0766603{col 72}{space 3}  .001174
{txt}{space 9}duration {c |}{col 19}{res}{space 2} .1477137{col 31}{space 2} .1248283{col 42}{space 1}    1.18{col 51}{space 3}0.260{col 59}{space 4}-.1242637{col 72}{space 3} .4196912
{txt}{space 14}age {c |}{col 19}{res}{space 2}-.0146825{col 31}{space 2}  .007937{col 42}{space 1}   -1.85{col 51}{space 3}0.089{col 59}{space 4}-.0319757{col 72}{space 3} .0026107
{txt}{space 13}male {c |}{col 19}{res}{space 2}-.0286694{col 31}{space 2} .3663484{col 42}{space 1}   -0.08{col 51}{space 3}0.939{col 59}{space 4}-.8268741{col 72}{space 3} .7695353
{txt}{space 8}education {c |}{col 19}{res}{space 2} .1870769{col 31}{space 2} .0696491{col 42}{space 1}    2.69{col 51}{space 3}0.020{col 59}{space 4} .0353246{col 72}{space 3} .3388291
{txt}{space 13}rank {c |}{col 19}{res}{space 2}-.0501355{col 31}{space 2} .0628729{col 42}{space 1}   -0.80{col 51}{space 3}0.441{col 59}{space 4}-.1871237{col 72}{space 3} .0868528
{txt}{space 10}married {c |}{col 19}{res}{space 2}  .020582{col 31}{space 2} .0896973{col 42}{space 1}    0.23{col 51}{space 3}0.822{col 59}{space 4}-.1748516{col 72}{space 3} .2160155
{txt}{space 8}prevAU_UN {c |}{col 19}{res}{space 2}-.3560608{col 31}{space 2} .1265143{col 42}{space 1}   -2.81{col 51}{space 3}0.016{col 59}{space 4}-.6317118{col 72}{space 3}-.0804097
{txt}{space 10}mil_ops {c |}{col 19}{res}{space 2} .1178168{col 31}{space 2} .1070858{col 42}{space 1}    1.10{col 51}{space 3}0.293{col 59}{space 4} -.115503{col 72}{space 3} .3511366
{txt}{space 10}pre_dep {c |}{col 19}{res}{space 2}-.3159532{col 31}{space 2} .1379889{col 42}{space 1}   -2.29{col 51}{space 3}0.041{col 59}{space 4}-.6166052{col 72}{space 3}-.0153011
{txt}{space 17} {c |}
{space 13}dist {c |}
{space 7}badhaadhe  {c |}{col 19}{res}{space 2} .2381642{col 31}{space 2} .1516169{col 42}{space 1}    1.57{col 51}{space 3}0.142{col 59}{space 4}-.0921808{col 72}{space 3} .5685091
{txt}{space 10}baidoa  {c |}{col 19}{res}{space 2} 1.203923{col 31}{space 2} .2196486{col 42}{space 1}    5.48{col 51}{space 3}0.000{col 59}{space 4} .7253494{col 72}{space 3} 1.682496
{txt}{space 6}bulo burto  {c |}{col 19}{res}{space 2} 1.369106{col 31}{space 2} .2899696{col 42}{space 1}    4.72{col 51}{space 3}0.000{col 59}{space 4} .7373167{col 72}{space 3} 2.000896
{txt}{space 10}hiraan  {c |}{col 19}{res}{space 2} 1.073457{col 31}{space 2}  .322494{col 42}{space 1}    3.33{col 51}{space 3}0.006{col 59}{space 4} .3708027{col 72}{space 3} 1.776111
{txt}{space 11}johar  {c |}{col 19}{res}{space 2} .9637345{col 31}{space 2} .2096893{col 42}{space 1}    4.60{col 51}{space 3}0.001{col 59}{space 4} .5068608{col 72}{space 3} 1.420608
{txt}{space 9}kismayo  {c |}{col 19}{res}{space 2} .4034301{col 31}{space 2}  .219985{col 42}{space 1}    1.83{col 51}{space 3}0.092{col 59}{space 4}-.0758759{col 72}{space 3} .8827362
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.4220917{col 31}{space 2} .6936231{col 42}{space 1}   -0.61{col 51}{space 3}0.554{col 59}{space 4}-1.933367{col 72}{space 3} 1.089183
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store index_noug
{txt}
{com}. 
. // Graphs-
. coefplot   (iedface_nobur, mlabel ("{c -(}it:Human rights index w/out Burundi{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>  (iedface_noken, mlabel ("{c -(}it:Human rights index w/out Kenya{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>  (iedface_noeth, mlabel ("{c -(}it:Human rights index w/out Ethiopia{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>   (iedface_noug, mlabel ("{c -(}it:Human rights index w/out Uganda{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>        , levels(95 90) keep(ied_face ) graphregion(fcolor(white))title("Attitudes: Reported witnessing an IED attack on" "Civilian Abuse (survey)") xline(0, lwidth(thin))  ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. graph save survey_ied, replace
{res}{txt}file {bf:survey_ied.gph} saved

{com}. 
. coefplot   (index_nobur, mlabel ("{c -(}it:Human rights index w/out Burundi{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>  (index_noken, mlabel ("{c -(}it:Human rights index w/out Kenya{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>  (index_noeth, mlabel ("{c -(}it:Human rights index w/out Ethiopia{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>   (index_noug, mlabel ("{c -(}it:Human rights index w/out Uganda{c )-}") mlabposition(clockposlist 11) mlabcolor(black) mcolor(black) msymbol(square) ciopts(lcolor(black))) ///
>        , levels(95 90) keep(totaliedsincearvl ) graphregion(fcolor(white))title("Attitudes: Real geo-coded IED attacks" "on Civilian Abuse (survey)") xline(0, lwidth(thin))  ///
> omitted yscale(off) mlabsize(medium) legend(off) graphregion(fcolor(white)) 
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. graph save real_ied, replace
{res}{txt}file {bf:real_ied.gph} saved

{com}. graph combine  survey_ied.gph  real_ied.gph
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{p 0 4 2}
{txt}(note:  named style
clockposlist not found in class
clockdir,  default attributes used)
{p_end}
{res}{txt}
{com}. graph export "A7.pdf", replace
{txt}{p 0 4 2}
file {bf}
A7.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. ************************************************************************************************************** 
. ** Table C15: Pre-Operational Brief on Civilian Abuse
. eststo clear
{txt}
{com}. eststo:reg troops_rec_perform_review  pre_convoy_brief   ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       465
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1430
                                                {txt}Root MSE          =    {res} 1.2487

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}troops_rec_per~w{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2}-.0326939{col 30}{space 2} .0840725{col 41}{space 1}   -0.39{col 50}{space 3}0.700{col 58}{space 4}-.2049086{col 71}{space 3} .1395207
{txt}{space 8}duration {c |}{col 18}{res}{space 2}-.1266466{col 30}{space 2} .0819944{col 41}{space 1}   -1.54{col 50}{space 3}0.134{col 58}{space 4}-.2946045{col 71}{space 3} .0413113
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0119574{col 30}{space 2} .0068176{col 41}{space 1}   -1.75{col 50}{space 3}0.090{col 58}{space 4}-.0259225{col 71}{space 3} .0020078
{txt}{space 12}male {c |}{col 18}{res}{space 2}-.4905204{col 30}{space 2} .5253462{col 41}{space 1}   -0.93{col 50}{space 3}0.358{col 58}{space 4}-1.566643{col 71}{space 3} .5856025
{txt}{space 7}education {c |}{col 18}{res}{space 2} .0809759{col 30}{space 2} .0911255{col 41}{space 1}    0.89{col 50}{space 3}0.382{col 58}{space 4}-.1056862{col 71}{space 3}  .267638
{txt}{space 12}rank {c |}{col 18}{res}{space 2}-.0912315{col 30}{space 2} .0699812{col 41}{space 1}   -1.30{col 50}{space 3}0.203{col 58}{space 4}-.2345814{col 71}{space 3} .0521185
{txt}{space 9}married {c |}{col 18}{res}{space 2}-.0936833{col 30}{space 2} .1403822{col 41}{space 1}   -0.67{col 50}{space 3}0.510{col 58}{space 4}-.3812433{col 71}{space 3} .1938766
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2} .1990676{col 30}{space 2}  .195949{col 41}{space 1}    1.02{col 50}{space 3}0.318{col 58}{space 4}-.2023158{col 71}{space 3}  .600451
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2}-.1268304{col 30}{space 2} .1783754{col 41}{space 1}   -0.71{col 50}{space 3}0.483{col 58}{space 4}-.4922159{col 71}{space 3} .2385551
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2}-.4392391{col 30}{space 2} .1747236{col 41}{space 1}   -2.51{col 50}{space 3}0.018{col 58}{space 4}-.7971441{col 71}{space 3}-.0813341
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2} 1.229865{col 30}{space 2} .2973511{col 41}{space 1}    4.14{col 50}{space 3}0.000{col 58}{space 4} .6207692{col 71}{space 3} 1.838961
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2} 1.501896{col 30}{space 2} .3193674{col 41}{space 1}    4.70{col 50}{space 3}0.000{col 58}{space 4} .8477017{col 71}{space 3} 2.156091
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2}-.2763528{col 30}{space 2} .3301552{col 41}{space 1}   -0.84{col 50}{space 3}0.410{col 58}{space 4}-.9526451{col 71}{space 3} .3999396
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2}-.3262012{col 30}{space 2} .3039947{col 41}{space 1}   -1.07{col 50}{space 3}0.292{col 58}{space 4}-.9489062{col 71}{space 3} .2965038
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2} .2283026{col 30}{space 2} .2951134{col 41}{space 1}    0.77{col 50}{space 3}0.446{col 58}{space 4}-.3762097{col 71}{space 3}  .832815
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2} 1.113022{col 30}{space 2} .3622949{col 41}{space 1}    3.07{col 50}{space 3}0.005{col 58}{space 4} .3708951{col 71}{space 3}  1.85515
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2}  .747232{col 30}{space 2} .5020017{col 41}{space 1}    1.49{col 50}{space 3}0.148{col 58}{space 4}-.2810718{col 71}{space 3} 1.775536
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} .0439608{col 30}{space 2} .3324534{col 41}{space 1}    0.13{col 50}{space 3}0.896{col 58}{space 4}-.6370391{col 71}{space 3} .7249607
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2}-.0340746{col 30}{space 2}  .319935{col 41}{space 1}   -0.11{col 50}{space 3}0.916{col 58}{space 4}-.6894318{col 71}{space 3} .6212826
{txt}{space 10}johar  {c |}{col 18}{res}{space 2} .4890464{col 30}{space 2} .3473062{col 41}{space 1}    1.41{col 50}{space 3}0.170{col 58}{space 4}-.2223782{col 71}{space 3} 1.200471
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2} .5334167{col 30}{space 2} .3919294{col 41}{space 1}    1.36{col 50}{space 3}0.184{col 58}{space 4}-.2694142{col 71}{space 3} 1.336248
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2} 3.991953{col 30}{space 2} .5724729{col 41}{space 1}    6.97{col 50}{space 3}0.000{col 58}{space 4} 2.819296{col 71}{space 3} 5.164611
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est1{txt} stored)

{com}. estimates store review
{txt}
{com}. eststo:reg coop_with_others  pre_convoy_brief   ${c -(}varlist{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       480
                                                {txt}F(1, 28)          =  {res}     0.13
                                                {txt}Prob > F          = {res}    0.7174
                                                {txt}R-squared         = {res}    0.0003
                                                {txt}Root MSE          =    {res} 1.1492

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}coop_with_others{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2} -.030641{col 30}{space 2}    .0838{col 41}{space 1}   -0.37{col 50}{space 3}0.717{col 58}{space 4}-.2022976{col 71}{space 3} .1410156
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 1.917863{col 30}{space 2} .1939331{col 41}{space 1}    9.89{col 50}{space 3}0.000{col 58}{space 4} 1.520609{col 71}{space 3} 2.315117
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est2{txt} stored)

{com}. estimates store coop
{txt}
{com}. eststo:reg complain  pre_convoy_brief  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       423
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0816
                                                {txt}Root MSE          =    {res} .85887

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}        complain{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2} .0396215{col 30}{space 2} .0570629{col 41}{space 1}    0.69{col 50}{space 3}0.493{col 58}{space 4}-.0772666{col 71}{space 3} .1565096
{txt}{space 8}duration {c |}{col 18}{res}{space 2} .1048689{col 30}{space 2} .0742185{col 41}{space 1}    1.41{col 50}{space 3}0.169{col 58}{space 4}-.0471608{col 71}{space 3} .2568986
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0036373{col 30}{space 2} .0081206{col 41}{space 1}   -0.45{col 50}{space 3}0.658{col 58}{space 4}-.0202716{col 71}{space 3}  .012997
{txt}{space 12}male {c |}{col 18}{res}{space 2} .1948935{col 30}{space 2} .3109703{col 41}{space 1}    0.63{col 50}{space 3}0.536{col 58}{space 4}-.4421004{col 71}{space 3} .8318873
{txt}{space 7}education {c |}{col 18}{res}{space 2} .0735616{col 30}{space 2} .0593253{col 41}{space 1}    1.24{col 50}{space 3}0.225{col 58}{space 4}-.0479607{col 71}{space 3} .1950839
{txt}{space 12}rank {c |}{col 18}{res}{space 2} .0423616{col 30}{space 2} .0554307{col 41}{space 1}    0.76{col 50}{space 3}0.451{col 58}{space 4}-.0711831{col 71}{space 3} .1559062
{txt}{space 9}married {c |}{col 18}{res}{space 2} .0437141{col 30}{space 2} .1035602{col 41}{space 1}    0.42{col 50}{space 3}0.676{col 58}{space 4}-.1684193{col 71}{space 3} .2558476
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2}-.0898993{col 30}{space 2} .0963861{col 41}{space 1}   -0.93{col 50}{space 3}0.359{col 58}{space 4}-.2873374{col 71}{space 3} .1075388
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2}-.0643533{col 30}{space 2} .1098708{col 41}{space 1}   -0.59{col 50}{space 3}0.563{col 58}{space 4}-.2894135{col 71}{space 3} .1607069
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2} .0247004{col 30}{space 2} .1333869{col 41}{space 1}    0.19{col 50}{space 3}0.854{col 58}{space 4}-.2485304{col 71}{space 3} .2979312
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2} .5750559{col 30}{space 2} .2208411{col 41}{space 1}    2.60{col 50}{space 3}0.015{col 58}{space 4} .1226834{col 71}{space 3} 1.027428
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2} -.447827{col 30}{space 2} .2828067{col 41}{space 1}   -1.58{col 50}{space 3}0.125{col 58}{space 4} -1.02713{col 71}{space 3} .1314764
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2} .1640297{col 30}{space 2} .2784592{col 41}{space 1}    0.59{col 50}{space 3}0.561{col 58}{space 4}-.4063681{col 71}{space 3} .7344275
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2} .1187382{col 30}{space 2} .2139703{col 41}{space 1}    0.55{col 50}{space 3}0.583{col 58}{space 4}  -.31956{col 71}{space 3} .5570364
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2} .2528302{col 30}{space 2} .2354824{col 41}{space 1}    1.07{col 50}{space 3}0.292{col 58}{space 4}-.2295336{col 71}{space 3}  .735194
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2} .0927951{col 30}{space 2}  .364019{col 41}{space 1}    0.25{col 50}{space 3}0.801{col 58}{space 4}-.6528639{col 71}{space 3} .8384541
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2}-.0329856{col 30}{space 2} .3056922{col 41}{space 1}   -0.11{col 50}{space 3}0.915{col 58}{space 4}-.6591677{col 71}{space 3} .5931964
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} .7255165{col 30}{space 2} .2771362{col 41}{space 1}    2.62{col 50}{space 3}0.014{col 58}{space 4} .1578287{col 71}{space 3} 1.293204
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2}  .131149{col 30}{space 2} .2605979{col 41}{space 1}    0.50{col 50}{space 3}0.619{col 58}{space 4}-.4026617{col 71}{space 3} .6649597
{txt}{space 10}johar  {c |}{col 18}{res}{space 2} .0375372{col 30}{space 2} .2566642{col 41}{space 1}    0.15{col 50}{space 3}0.885{col 58}{space 4}-.4882155{col 71}{space 3}   .56329
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2} .3154804{col 30}{space 2} .2283604{col 41}{space 1}    1.38{col 50}{space 3}0.178{col 58}{space 4}-.1522946{col 71}{space 3} .7832555
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2}  2.77674{col 30}{space 2} .5480786{col 41}{space 1}    5.07{col 50}{space 3}0.000{col 58}{space 4} 1.654052{col 71}{space 3} 3.899428
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est3{txt} stored)

{com}. estimates store compln
{txt}
{com}. eststo:reg relations  pre_convoy_brief  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       449
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1729
                                                {txt}Root MSE          =    {res} 1.2018

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}       relations{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2} .0311084{col 30}{space 2} .1296065{col 41}{space 1}    0.24{col 50}{space 3}0.812{col 58}{space 4}-.2343785{col 71}{space 3} .2965954
{txt}{space 8}duration {c |}{col 18}{res}{space 2} .0807254{col 30}{space 2} .0816234{col 41}{space 1}    0.99{col 50}{space 3}0.331{col 58}{space 4}-.0864725{col 71}{space 3} .2479234
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0059153{col 30}{space 2} .0083497{col 41}{space 1}   -0.71{col 50}{space 3}0.485{col 58}{space 4}-.0230188{col 71}{space 3} .0111883
{txt}{space 12}male {c |}{col 18}{res}{space 2}-.8212874{col 30}{space 2} .4183177{col 41}{space 1}   -1.96{col 50}{space 3}0.060{col 58}{space 4}-1.678172{col 71}{space 3} .0355975
{txt}{space 7}education {c |}{col 18}{res}{space 2} .1026627{col 30}{space 2} .0661233{col 41}{space 1}    1.55{col 50}{space 3}0.132{col 58}{space 4}-.0327849{col 71}{space 3} .2381102
{txt}{space 12}rank {c |}{col 18}{res}{space 2}-.0190909{col 30}{space 2} .0858483{col 41}{space 1}   -0.22{col 50}{space 3}0.826{col 58}{space 4}-.1949431{col 71}{space 3} .1567613
{txt}{space 9}married {c |}{col 18}{res}{space 2} .1006618{col 30}{space 2} .1500835{col 41}{space 1}    0.67{col 50}{space 3}0.508{col 58}{space 4}-.2067703{col 71}{space 3}  .408094
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2}-.5243432{col 30}{space 2} .1757615{col 41}{space 1}   -2.98{col 50}{space 3}0.006{col 58}{space 4}-.8843742{col 71}{space 3}-.1643121
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2} .0885673{col 30}{space 2} .1667716{col 41}{space 1}    0.53{col 50}{space 3}0.600{col 58}{space 4}-.2530488{col 71}{space 3} .4301833
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2} .0060632{col 30}{space 2} .1520211{col 41}{space 1}    0.04{col 50}{space 3}0.968{col 58}{space 4}-.3053379{col 71}{space 3} .3174643
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2}-.7229555{col 30}{space 2} .1656915{col 41}{space 1}   -4.36{col 50}{space 3}0.000{col 58}{space 4}-1.062359{col 71}{space 3}-.3835518
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2} .5014624{col 30}{space 2} .4117086{col 41}{space 1}    1.22{col 50}{space 3}0.233{col 58}{space 4}-.3418844{col 71}{space 3} 1.344809
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2} .7770392{col 30}{space 2} .2980533{col 41}{space 1}    2.61{col 50}{space 3}0.014{col 58}{space 4} .1665048{col 71}{space 3} 1.387574
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2} .0141004{col 30}{space 2} .1839844{col 41}{space 1}    0.08{col 50}{space 3}0.939{col 58}{space 4}-.3627746{col 71}{space 3} .3909755
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2} .6059789{col 30}{space 2} .1847936{col 41}{space 1}    3.28{col 50}{space 3}0.003{col 58}{space 4} .2274465{col 71}{space 3} .9845113
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2} .4282511{col 30}{space 2} .3247213{col 41}{space 1}    1.32{col 50}{space 3}0.198{col 58}{space 4}-.2369103{col 71}{space 3} 1.093413
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2} .0043296{col 30}{space 2} .2496464{col 41}{space 1}    0.02{col 50}{space 3}0.986{col 58}{space 4} -.507048{col 71}{space 3} .5157072
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} 1.728571{col 30}{space 2} .2044648{col 41}{space 1}    8.45{col 50}{space 3}0.000{col 58}{space 4} 1.309743{col 71}{space 3} 2.147398
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2} 1.462362{col 30}{space 2} .1701977{col 41}{space 1}    8.59{col 50}{space 3}0.000{col 58}{space 4} 1.113728{col 71}{space 3} 1.810996
{txt}{space 10}johar  {c |}{col 18}{res}{space 2} 1.242577{col 30}{space 2} .1913786{col 41}{space 1}    6.49{col 50}{space 3}0.000{col 58}{space 4} .8505558{col 71}{space 3} 1.634598
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2} .5189549{col 30}{space 2} .3190512{col 41}{space 1}    1.63{col 50}{space 3}0.115{col 58}{space 4}-.1345918{col 71}{space 3} 1.172502
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2}  2.55136{col 30}{space 2} .5835146{col 41}{space 1}    4.37{col 50}{space 3}0.000{col 58}{space 4} 1.356085{col 71}{space 3} 3.746636
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est4{txt} stored)

{com}. estimates store rel
{txt}
{com}. eststo:reg civ_casual  pre_convoy_brief  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       421
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1155
                                                {txt}Root MSE          =    {res}  1.262

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}      civ_casual{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2}-.0323974{col 30}{space 2} .1258348{col 41}{space 1}   -0.26{col 50}{space 3}0.799{col 58}{space 4}-.2901582{col 71}{space 3} .2253635
{txt}{space 8}duration {c |}{col 18}{res}{space 2}-.2038174{col 30}{space 2} .1277329{col 41}{space 1}   -1.60{col 50}{space 3}0.122{col 58}{space 4}-.4654664{col 71}{space 3} .0578317
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0050089{col 30}{space 2} .0082866{col 41}{space 1}   -0.60{col 50}{space 3}0.550{col 58}{space 4}-.0219832{col 71}{space 3} .0119654
{txt}{space 12}male {c |}{col 18}{res}{space 2}-.5105936{col 30}{space 2} .4337484{col 41}{space 1}   -1.18{col 50}{space 3}0.249{col 58}{space 4}-1.399087{col 71}{space 3} .3778998
{txt}{space 7}education {c |}{col 18}{res}{space 2} .2135162{col 30}{space 2} .0721277{col 41}{space 1}    2.96{col 50}{space 3}0.006{col 58}{space 4} .0657694{col 71}{space 3} .3612631
{txt}{space 12}rank {c |}{col 18}{res}{space 2}-.0456289{col 30}{space 2}  .059711{col 41}{space 1}   -0.76{col 50}{space 3}0.451{col 58}{space 4}-.1679414{col 71}{space 3} .0766836
{txt}{space 9}married {c |}{col 18}{res}{space 2} .0625151{col 30}{space 2} .1647896{col 41}{space 1}    0.38{col 50}{space 3}0.707{col 58}{space 4}-.2750411{col 71}{space 3} .4000714
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2} .0652667{col 30}{space 2}  .174899{col 41}{space 1}    0.37{col 50}{space 3}0.712{col 58}{space 4}-.2929977{col 71}{space 3} .4235311
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2}-.0475747{col 30}{space 2}  .207787{col 41}{space 1}   -0.23{col 50}{space 3}0.821{col 58}{space 4}-.4732071{col 71}{space 3} .3780577
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2}-.2579013{col 30}{space 2} .2290038{col 41}{space 1}   -1.13{col 50}{space 3}0.270{col 58}{space 4}-.7269943{col 71}{space 3} .2111917
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2} 1.544554{col 30}{space 2} .2289099{col 41}{space 1}    6.75{col 50}{space 3}0.000{col 58}{space 4} 1.075653{col 71}{space 3} 2.013455
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2} 1.543538{col 30}{space 2} .2805491{col 41}{space 1}    5.50{col 50}{space 3}0.000{col 58}{space 4} .9688591{col 71}{space 3} 2.118216
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2} .4335292{col 30}{space 2} .2465678{col 41}{space 1}    1.76{col 50}{space 3}0.090{col 58}{space 4}-.0715421{col 71}{space 3} .9386005
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2} .3747317{col 30}{space 2} .2278915{col 41}{space 1}    1.64{col 50}{space 3}0.111{col 58}{space 4}-.0920828{col 71}{space 3} .8415462
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2} 1.228313{col 30}{space 2} .2518981{col 41}{space 1}    4.88{col 50}{space 3}0.000{col 58}{space 4} .7123232{col 71}{space 3} 1.744303
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2} .9496458{col 30}{space 2} .4242627{col 41}{space 1}    2.24{col 50}{space 3}0.033{col 58}{space 4}  .080583{col 71}{space 3} 1.818709
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2} .6411895{col 30}{space 2} .3323287{col 41}{space 1}    1.93{col 50}{space 3}0.064{col 58}{space 4} -.039555{col 71}{space 3} 1.321934
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} .6494805{col 30}{space 2} .3388402{col 41}{space 1}    1.92{col 50}{space 3}0.066{col 58}{space 4} -.044602{col 71}{space 3} 1.343563
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2} .3451119{col 30}{space 2} .2996832{col 41}{space 1}    1.15{col 50}{space 3}0.259{col 58}{space 4}-.2687613{col 71}{space 3} .9589852
{txt}{space 10}johar  {c |}{col 18}{res}{space 2} .6735144{col 30}{space 2} .2988958{col 41}{space 1}    2.25{col 50}{space 3}0.032{col 58}{space 4} .0612541{col 71}{space 3} 1.285775
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2} .5496595{col 30}{space 2} .2342332{col 41}{space 1}    2.35{col 50}{space 3}0.026{col 58}{space 4} .0698545{col 71}{space 3} 1.029464
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2} 2.629961{col 30}{space 2} .8320114{col 41}{space 1}    3.16{col 50}{space 3}0.004{col 58}{space 4} .9256632{col 71}{space 3}  4.33426
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est5{txt} stored)

{com}. estimates store civ_cas
{txt}
{com}. eststo:reg  attack  pre_convoy_brief  ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       477
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1072
                                                {txt}Root MSE          =    {res} 1.0349

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}          attack{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2}  .055151{col 30}{space 2} .0652314{col 41}{space 1}    0.85{col 50}{space 3}0.405{col 58}{space 4}-.0784696{col 71}{space 3} .1887716
{txt}{space 8}duration {c |}{col 18}{res}{space 2} .0169898{col 30}{space 2} .0993997{col 41}{space 1}    0.17{col 50}{space 3}0.866{col 58}{space 4}-.1866211{col 71}{space 3} .2206008
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0026656{col 30}{space 2} .0051142{col 41}{space 1}   -0.52{col 50}{space 3}0.606{col 58}{space 4}-.0131416{col 71}{space 3} .0078103
{txt}{space 12}male {c |}{col 18}{res}{space 2} .4316336{col 30}{space 2} .2082564{col 41}{space 1}    2.07{col 50}{space 3}0.048{col 58}{space 4} .0050397{col 71}{space 3} .8582276
{txt}{space 7}education {c |}{col 18}{res}{space 2}-.0895829{col 30}{space 2} .0499243{col 41}{space 1}   -1.79{col 50}{space 3}0.084{col 58}{space 4}-.1918483{col 71}{space 3} .0126825
{txt}{space 12}rank {c |}{col 18}{res}{space 2}-.0276289{col 30}{space 2} .0549842{col 41}{space 1}   -0.50{col 50}{space 3}0.619{col 58}{space 4} -.140259{col 71}{space 3} .0850012
{txt}{space 9}married {c |}{col 18}{res}{space 2}-.0818478{col 30}{space 2} .0794843{col 41}{space 1}   -1.03{col 50}{space 3}0.312{col 58}{space 4}-.2446639{col 71}{space 3} .0809684
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2} .1492908{col 30}{space 2} .1535616{col 41}{space 1}    0.97{col 50}{space 3}0.339{col 58}{space 4}-.1652659{col 71}{space 3} .4638476
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2} .4173315{col 30}{space 2} .1565965{col 41}{space 1}    2.67{col 50}{space 3}0.013{col 58}{space 4} .0965581{col 71}{space 3} .7381049
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2}  -.37446{col 30}{space 2} .3224519{col 41}{space 1}   -1.16{col 50}{space 3}0.255{col 58}{space 4}-1.034973{col 71}{space 3} .2860526
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2}-.7034979{col 30}{space 2} .4632974{col 41}{space 1}   -1.52{col 50}{space 3}0.140{col 58}{space 4} -1.65252{col 71}{space 3} .2455238
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2}-.9518043{col 30}{space 2} .4902739{col 41}{space 1}   -1.94{col 50}{space 3}0.062{col 58}{space 4}-1.956085{col 71}{space 3} .0524762
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2}-.6189511{col 30}{space 2} .5089661{col 41}{space 1}   -1.22{col 50}{space 3}0.234{col 58}{space 4}-1.661521{col 71}{space 3} .4236186
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2}-.4399671{col 30}{space 2} .4849666{col 41}{space 1}   -0.91{col 50}{space 3}0.372{col 58}{space 4}-1.433376{col 71}{space 3}  .553442
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2}-.0976707{col 30}{space 2} .4593944{col 41}{space 1}   -0.21{col 50}{space 3}0.833{col 58}{space 4}-1.038697{col 71}{space 3}  .843356
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2}-.8840433{col 30}{space 2} .5086115{col 41}{space 1}   -1.74{col 50}{space 3}0.093{col 58}{space 4}-1.925887{col 71}{space 3} .1578001
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2}-.7306413{col 30}{space 2} .5083764{col 41}{space 1}   -1.44{col 50}{space 3}0.162{col 58}{space 4}-1.772003{col 71}{space 3} .3107206
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} .0165078{col 30}{space 2} .4835822{col 41}{space 1}    0.03{col 50}{space 3}0.973{col 58}{space 4}-.9740653{col 71}{space 3} 1.007081
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2}-.2353729{col 30}{space 2} .5060069{col 41}{space 1}   -0.47{col 50}{space 3}0.645{col 58}{space 4}-1.271881{col 71}{space 3} .8011353
{txt}{space 10}johar  {c |}{col 18}{res}{space 2} .0190362{col 30}{space 2} .5381595{col 41}{space 1}    0.04{col 50}{space 3}0.972{col 58}{space 4}-1.083334{col 71}{space 3} 1.121406
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2}-.3942119{col 30}{space 2} .4871434{col 41}{space 1}   -0.81{col 50}{space 3}0.425{col 58}{space 4} -1.39208{col 71}{space 3} .6036562
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2} 2.105181{col 30}{space 2} .6193908{col 41}{space 1}    3.40{col 50}{space 3}0.002{col 58}{space 4} .8364169{col 71}{space 3} 3.373946
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est6{txt} stored)

{com}. estimates store atk
{txt}
{com}. eststo:reg index_humanrights  pre_convoy_brief   ${c -(}controls{c )-},cluster(fob1)

{txt}Linear regression                               Number of obs     = {res}       336
                                                {txt}{help j_robustsingular:F(16, 28) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2084
                                                {txt}Root MSE          =    {res} .83166

{txt}{ralign 82:(Std. err. adjusted for {res:29} clusters in {res:fob1})}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}index_humanrig~s{col 18}{c |} Coefficient{col 30}  std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
pre_convoy_brief {c |}{col 18}{res}{space 2} .0509193{col 30}{space 2} .0757329{col 41}{space 1}    0.67{col 50}{space 3}0.507{col 58}{space 4}-.1042125{col 71}{space 3} .2060512
{txt}{space 8}duration {c |}{col 18}{res}{space 2}-.0502231{col 30}{space 2} .0873658{col 41}{space 1}   -0.57{col 50}{space 3}0.570{col 58}{space 4}-.2291838{col 71}{space 3} .1287377
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.0070498{col 30}{space 2} .0073504{col 41}{space 1}   -0.96{col 50}{space 3}0.346{col 58}{space 4}-.0221065{col 71}{space 3} .0080069
{txt}{space 12}male {c |}{col 18}{res}{space 2}-.1817963{col 30}{space 2} .3826161{col 41}{space 1}   -0.48{col 50}{space 3}0.638{col 58}{space 4}-.9655499{col 71}{space 3} .6019573
{txt}{space 7}education {c |}{col 18}{res}{space 2} .1266726{col 30}{space 2} .0793662{col 41}{space 1}    1.60{col 50}{space 3}0.122{col 58}{space 4}-.0359017{col 71}{space 3} .2892468
{txt}{space 12}rank {c |}{col 18}{res}{space 2}-.0362216{col 30}{space 2} .0593119{col 41}{space 1}   -0.61{col 50}{space 3}0.546{col 58}{space 4}-.1577165{col 71}{space 3} .0852734
{txt}{space 9}married {c |}{col 18}{res}{space 2}-.0279443{col 30}{space 2} .0847788{col 41}{space 1}   -0.33{col 50}{space 3}0.744{col 58}{space 4}-.2016058{col 71}{space 3} .1457172
{txt}{space 7}prevAU_UN {c |}{col 18}{res}{space 2}-.2719909{col 30}{space 2} .1060193{col 41}{space 1}   -2.57{col 50}{space 3}0.016{col 58}{space 4}-.4891615{col 71}{space 3}-.0548203
{txt}{space 9}mil_ops {c |}{col 18}{res}{space 2} .0677255{col 30}{space 2} .1091951{col 41}{space 1}    0.62{col 50}{space 3}0.540{col 58}{space 4}-.1559505{col 71}{space 3} .2914014
{txt}{space 9}pre_dep {c |}{col 18}{res}{space 2}-.4231737{col 30}{space 2}  .190126{col 41}{space 1}   -2.23{col 50}{space 3}0.034{col 58}{space 4}-.8126291{col 71}{space 3}-.0337182
{txt}{space 16} {c |}
{space 12}dist {c |}
{space 6}Qoryooley  {c |}{col 18}{res}{space 2} .5378217{col 30}{space 2} .2007779{col 41}{space 1}    2.68{col 50}{space 3}0.012{col 58}{space 4} .1265468{col 71}{space 3} .9490966
{txt}{space 8}afgooye  {c |}{col 18}{res}{space 2}  .660799{col 30}{space 2} .3423152{col 41}{space 1}    1.93{col 50}{space 3}0.064{col 58}{space 4}-.0404019{col 71}{space 3}    1.362
{txt}{space 8}afmadow  {c |}{col 18}{res}{space 2} .1370595{col 30}{space 2} .2204086{col 41}{space 1}    0.62{col 50}{space 3}0.539{col 58}{space 4}-.3144271{col 71}{space 3} .5885461
{txt}{space 6}badhaadhe  {c |}{col 18}{res}{space 2} .1841282{col 30}{space 2} .2067734{col 41}{space 1}    0.89{col 50}{space 3}0.381{col 58}{space 4}-.2394278{col 71}{space 3} .6076843
{txt}{space 9}baidoa  {c |}{col 18}{res}{space 2} .9498292{col 30}{space 2} .2040157{col 41}{space 1}    4.66{col 50}{space 3}0.000{col 58}{space 4} .5319221{col 71}{space 3} 1.367736
{txt}{space 8}banadir  {c |}{col 18}{res}{space 2} .3626268{col 30}{space 2} .4480809{col 41}{space 1}    0.81{col 50}{space 3}0.425{col 58}{space 4}-.5552253{col 71}{space 3} 1.280479
{txt}{space 8}baraawe  {c |}{col 18}{res}{space 2}-.0933329{col 30}{space 2} .3101001{col 41}{space 1}   -0.30{col 50}{space 3}0.766{col 58}{space 4}-.7285441{col 71}{space 3} .5418784
{txt}{space 5}bulo burto  {c |}{col 18}{res}{space 2} 1.321691{col 30}{space 2}  .240813{col 41}{space 1}    5.49{col 50}{space 3}0.000{col 58}{space 4} .8284082{col 71}{space 3} 1.814974
{txt}{space 9}hiraan  {c |}{col 18}{res}{space 2}  .678618{col 30}{space 2} .2241456{col 41}{space 1}    3.03{col 50}{space 3}0.005{col 58}{space 4} .2194766{col 71}{space 3} 1.137759
{txt}{space 10}johar  {c |}{col 18}{res}{space 2}  .673813{col 30}{space 2} .2346717{col 41}{space 1}    2.87{col 50}{space 3}0.008{col 58}{space 4} .1931099{col 71}{space 3} 1.154516
{txt}{space 8}kismayo  {c |}{col 18}{res}{space 2} .3925455{col 30}{space 2} .2683294{col 41}{space 1}    1.46{col 50}{space 3}0.155{col 58}{space 4}-.1571023{col 71}{space 3} .9421933
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2} .0937498{col 30}{space 2} .6168829{col 41}{space 1}    0.15{col 50}{space 3}0.880{col 58}{space 4}-1.169878{col 71}{space 3} 1.357377
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}({res}est7{txt} stored)

{com}. estimates store index
{txt}
{com}. 
.  esttab using TableC15.rtf, replace b(2) se(2) l star(* 0.1 ** 0.05 *** 0.01) r2(2) keep (pre_convoy_brief _cons) mtitles("POC essential"  "Co-op with civ soc"  "Right to complain"  "Treating well obstacle" "Civilian casualties"  "Solution is attacking" "HR index")
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{txt}(output written to {browse  `"TableC15.rtf"'})

{com}. 
{txt}end of do-file

{com}. do "C:\Users\prabin\AppData\Local\Temp\STD47d4_000000.tmp"
{txt}
{com}. *******************END***************************************************************************
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\prabin\Desktop\AMISOM ISQ Replication\AMISOM_Log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}30 Jan 2025, 20:25:59
{txt}{.-}
{smcl}
{txt}{sf}{ul off}